Skip to content

Commit

Permalink
chore: update the ibmcloud power-iaas plugin to v0.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Dec 6, 2023
1 parent 37d793c commit 38bf277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40 deletions.
38 changes: 0 additions & 38 deletions modules/4_pvs_support/pvs_support.tf
Original file line number Diff line number Diff line change
Expand Up @@ -310,44 +310,6 @@ EOF
}
}

# # Dev Note: create the dns lookup
# resource "null_resource" "update_dns_resolver_for_vpc" {
# # depends_on = [null_resource.wait_on_mcp]
# depends_on = [null_resource.latest_ignition]
# connection {
# type = "ssh"
# user = var.rhel_username
# host = var.bastion_public_ip
# private_key = file(var.private_key_file)
# agent = var.ssh_agent
# timeout = "${var.connection_timeout}m"
# }

# provisioner "remote-exec" {
# inline = [<<EOF
# if [ -z "$(command -v ibmcloud)" ]
# then
# echo "ibmcloud CLI doesn't exist, installing"
# curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
# fi

# ibmcloud login --apikey "${var.ibmcloud_api_key}" -r "${var.vpc_region}" -g "${var.resource_group}"
# ibmcloud plugin install -f cloud-internet-services vpc-infrastructure cloud-object-storage power-iaas is

# export IBMCLOUD_IS_FEATURE_VPC_DNS_SHARING=true
# ibmcloud is vpcu ${var.vpc_name} --dns-enable-hub true --dns-resolver-type manual --dns-resolver-manual-servers '[
# {
# "address": "${var.ignition_ip}"
# }
# ]'

# echo "waiting to reconcile the status"
# sleep 60
# EOF
# ]
# }
# }

# Dev Note: only on destroy - restore chrony
resource "null_resource" "remove_chrony_changes" {
depends_on = [null_resource.set_routing_via_host]
Expand Down
4 changes: 2 additions & 2 deletions modules/5_image/files/upload_rhcos_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ fi
ibmcloud login --apikey "${API_KEY}" -r "${REGION}" -g "${RESOURCE_GROUP}"
ibmcloud plugin install -f cloud-internet-services vpc-infrastructure cloud-object-storage is

# Pin the version to 0.4.9 (v1.0.0 may be incompatible)
ibmcloud plugin install -v 0.4.9 -f power-iaas
# Pin the version to 0.6.0 (v1.0.0 may be incompatible)
ibmcloud plugin install -v 0.6.0 -f power-iaas

# Download the RHCOS qcow2
TARGET_DIR=".openshift/image-local"
Expand Down

0 comments on commit 38bf277

Please sign in to comment.