https://pulumi.com logo
#yaml
Title
# yaml
g

gifted-cat-49297

05/19/2023, 2:11 PM
m

millions-furniture-75402

05/19/2023, 3:15 PM
Yikes, the implications are terrible!
r

rich-motorcycle-71684

05/22/2023, 7:28 AM
It's very frustrating.
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:
Copy code
config:
  biosys:ALLOW_PUBLIC_REGISTRATION: !!str 'True'
Code:
Copy code
environment:
            # <https://www.pulumi.com/registry/packages/awsx/api-docs/ecs/fargatetaskdefinition/#taskdefinitionkeyvaluepair>
            - name: ALLOW_PUBLIC_REGISTRATION
              value: !!str "${ALLOW_PUBLIC_REGISTRATION}"
Error:
Copy code
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'.
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
8 Views