Closed IbraheemAlSaady closed 1 year ago
You should wrap value with jsonencode()
to make all arguments look like strings. See this example:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Specifying the value of integrations variable while having different attributes for each integration results in the error
The given value is not suitable for module.api_gateway.var.integrations declared at .terraform/modules/api_gateway/variables.tf:197,1-24: all map elements must have the same type.
Versions
Reproduction Code [Required]
Here is what I'm trying to run
What I noticed is adding the
response_parameters
is what's breaking it