ibm-cloud-architecture / terraform-openshift4-aws

OpenShift 4 installation automation asset
Apache License 2.0
82 stars 113 forks source link

Obsolete URL for openshift-install CLI #55

Open nastacio opened 2 years ago

nastacio commented 2 years ago

While executing the installation instructions for an OCP 4.10 cluster, the terraform plan ... command fails with

module.dns[0].data.aws_route53_zone.public[0]: Read complete after 1s [id=Z02574962DO4HTENH1P4D]
...
╷
│ Error: HTTP request error. Response code: 404
│ 
│   with data.http.images,
│   on helper.tf line 7, in data "http" "images":
│    7: data "http" "images" {
│ 
╵

That "helper.tf" file has a mention to this obsolete URL:

data "http" "images" {
  url = "https://raw.githubusercontent.com/openshift/installer/release-${local.major_version}/data/data/rhcos.json"
  request_headers = {
    Accept = "application/json"
  }
}

It looks like, starting with OCP 4.10, that "rhcos.json" file is no longer published.

ncolon commented 2 years ago

File moved to "https://raw.githubusercontent.com/openshift/installer/release-${local.major_version}/data/data/coreos/rhcos.json" on 4.10