File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,30 +124,6 @@ resource "time_sleep" "after_nonrealm" {
124124 create_duration = " 2m"
125125}
126126
127- # resource "null_resource" "realm_phase2" {
128- # depends_on = [time_sleep.after_nonrealm]
129-
130- # triggers = {
131- # realm_id = aws_instance.infinia_realm[0].id
132- # want_nodes = tostring(local.instance_count)
133- # admin_pw = var.admin_password
134- # license_key = var.realm_license
135- # }
136-
137- # provisioner "local-exec" {
138- # # GitHub runners default shell is bash; CodeBuild also okay.
139- # command = <<EOC
140- # AWS_REGION="${var.aws_region}" \
141- # INSTANCE_ID="${aws_instance.infinia_realm[0].id}" \
142- # WANT="${local.instance_count}" \
143- # ADMIN_PW='${local.admin_password}' \
144- # LICENSE_KEY='${local.realm_license}' \
145- # ./scripts/realm_phase2.sh
146- # EOC
147- # interpreter = ["/bin/bash", "-c"]
148- # }
149- # }
150-
151127resource "null_resource" "realm_phase2" {
152128 depends_on = [time_sleep . wait_for_nonrealm_nodes ]
153129
You can’t perform that action at this time.
0 commit comments