From 6bf99f395cd3e01707b30b7685101fef2e2118e4 Mon Sep 17 00:00:00 2001 From: Paul Bastide Date: Tue, 12 Mar 2024 10:37:35 -0400 Subject: [PATCH] fix: change rhel-coreos-stable-amd64 to rhel-coreos-stable-amd64-byol Signed-off-by: Paul Bastide --- modules/5_image/image.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/5_image/image.tf b/modules/5_image/image.tf index 5ac5ad2..88b4761 100644 --- a/modules/5_image/image.tf +++ b/modules/5_image/image.tf @@ -86,14 +86,14 @@ locals { # Dev Note: The following message points to no authorization from VPC to Image. # > The IAM token that was specified in the request has expired or is invalid. The request is not authorized to access the Cloud Object Storage resource. -# ibmcloud is image-create test --file cos://au-syd/mac-f672-mac-intel/mac-f672-rhcos.qcow2 --os-name rhel-coreos-stable-amd64 +# ibmcloud is image-create test --file cos://au-syd/mac-f672-mac-intel/mac-f672-rhcos.qcow2 --os-name rhel-coreos-stable-amd64-byol # Ref: https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4267 # Ref: https://cloud.ibm.com/iam/authorizations/grant resource "ibm_is_image" "worker_image_id" { depends_on = [null_resource.upload_rhcos_image, ibm_cos_bucket.cos_bucket, ibm_iam_authorization_policy.policy] name = "${var.name_prefix}-rhcos-img" href = "cos://${local.cos_region}/${var.name_prefix}-mac-intel/${var.name_prefix}-rhcos.qcow2" - operating_system = "rhel-coreos-stable-amd64" + operating_system = "rhel-coreos-stable-amd64-byol" resource_group = data.ibm_resource_group.resource_group.id //increase timeouts as this import may be cross-region