You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a policy named with schema ${var.tfc_project}-auth is not provided, the execution failes with error:
Error: Invalid index
on .terraform/modules/aws_tfc_dynamic_credentials/main.tf line 62, in resource "tfe_variable" "tfe_aws_provider_auth_arn":
value = module.aws_tfc_dynamic_credentials_iam_roles["${var.tfc_project}-auth"].role_arn
module.aws_tfc_dynamic_credentials_iam_roles is object with 1 attribute "platform-general-purpose-tfc-ses"
var.tfc_project is "platform-general-purpose"
The given key does not identify an element in this collection value.
Is there an existing issue for this?
Current Behavior
If a policy named with schema
${var.tfc_project}-auth
is not provided, the execution failes with error:Error: Invalid index on .terraform/modules/aws_tfc_dynamic_credentials/main.tf line 62, in resource "tfe_variable" "tfe_aws_provider_auth_arn": value = module.aws_tfc_dynamic_credentials_iam_roles["${var.tfc_project}-auth"].role_arn module.aws_tfc_dynamic_credentials_iam_roles is object with 1 attribute "platform-general-purpose-tfc-ses" var.tfc_project is "platform-general-purpose" The given key does not identify an element in this collection value.
Expected Behavior
We expect to successfully deploy the policies.
Steps To Reproduce
Relevant log output
No response
Additional context:
No response
The text was updated successfully, but these errors were encountered: