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

full-dress-10026

09/21/2018, 10:46 PM
I tried setting
containers
to
{}
but that results in an error saying that
containers
cannot be empty.
w

white-balloon-205

09/21/2018, 10:49 PM
Just to make sure I follow - you deployed this:
Copy code
let service = new cloud.Service("basic-web", {
    containers: {
        nginx: {
            build: "./app",
            memory: 256,
            ports: [{port: 8080}]
        }
    },
    replicas: 2
});
Then changed to this:
Copy code
let service = new cloud.Service("basic-web", {
    containers: {
        basic_web: {
            build: "./app",
            memory: 256,
            ports: [{port: 8080}]
        }
    },
    replicas: 2
});
Which resulted in:
Copy code
error: Plan apply failed: 1 error occurred:
    
    * creating urn:pulumi:basic-web-container-dev::basic-web-container::cloud:service:Service$aws:ecs/service:Service::basic-web: timeout while waiting for state to become 'true' (last state: 'false', timeout: 10m0s)
Is that right? That sounds like it may be a bug in
@pulumi/cloud
- I'll try to reproduce if this is the steps you took.
f

full-dress-10026

09/21/2018, 10:50 PM
Correct