Closed gangchen03 closed 4 years ago
https://github.com/ibm-cloud-architecture/terraform-openshift4-aws/blob/7fb31aaf1f1af1861acdf8baa80a336bd8393f36/main.tf#L2 Defines a local variable infrastructure_id. This confuses/duplicates with the input variable definition: https://github.com/ibm-cloud-architecture/terraform-openshift4-aws/blob/7fb31aaf1f1af1861acdf8baa80a336bd8393f36/variables.tf#L4
infrastructure_id
Suggest changing the main.tf code to:
infrastructure_id = "${var.infrastructure_id}"
or just use ${var.infrastructure_id} when needed
${var.infrastructure_id}
https://github.com/ibm-cloud-architecture/terraform-openshift4-aws/blob/7fb31aaf1f1af1861acdf8baa80a336bd8393f36/main.tf#L2 Defines a local variable
infrastructure_id
. This confuses/duplicates with the input variable definition: https://github.com/ibm-cloud-architecture/terraform-openshift4-aws/blob/7fb31aaf1f1af1861acdf8baa80a336bd8393f36/variables.tf#L4Suggest changing the main.tf code to:
or just use
${var.infrastructure_id}
when needed