In the documentation it is stated that in order to use multiple dynamic credentials configurations defined in a workspace, you need to add the following variable to your code.
variable “tfc_aws_dynamic_credentials” {
description = “Object containing AWS dynamic credentials configuration”
type = object({
default = object({
shared_config_file = string
})
aliases = map(object({
shared_config_file = string
}))
})
}
For Terraform Cloud it works for Terraform Enterprise it does not work. I get the following error.
“Error: No value for required variable”
What version of the terraform provider and Terraform Enterprise is required.