Bump on this. It seems like it happens with booleans as well. Pulumi somehow converts things into a type.
It's making me unable to deploy to ECS...
Variable definition:
aws:ecs:TaskDefinition (biosys-440-service):
error: aws:ecs/taskDefinition:TaskDefinition resource 'biosys-440-service' has a problem: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal bool into Go struct field KeyValuePair.Environment.Value of type string. Examine values at 'TaskDefinition.ContainerDefinitions'.
rich-motorcycle-71684
05/26/2023, 4:17 AM
Seems like this resolves it (not sure if it's a solution or a workaround)
Copy code
biosys:ALLOW_PUBLIC_REGISTRATION: |-
"True"
I will try this with my port number
@gifted-cat-49297 may be useful to you with your float
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.