https://pulumi.com logo
#general
Title
# general
e

elegant-architect-38580

12/11/2023, 9:38 AM
Is it possible to create a stack config map object from pulumi template config inputs into something like this?? Pulumi.stackname.yaml:
Copy code
<stackname>:serviceConfig:
        cpu: 256
        memory: 512
        desiredCount: 1
I have tried this which only created separate values and did not work:
Copy code
template:
    description: Service stack
    config:
        serviceConfig:desiredCount:
            description: The number of tasks to run
            default: 1
        serviceConfig:cpu:
            description: The number of cpu units to allocate to the task
            default: '256'
        serviceConfig:memory:
            description: The amount of memory to allocate to the task
            default: '512'