https://pulumi.com logo
Title
e

elegant-gigabyte-8733

03/19/2023, 10:18 PM
I’ve been using AWSx and deploying a Fargate service. As part of the TaskContainerDefinition you can set a value
name
that is supposed to be the name in the ECS task. Despite trying to set it, it’s always resulting in a
container
value for the name. Example
{container: {family: "myfamily", image: "imageURL", name: "jowanzascontainer"}}
b

busy-monitor-69572

03/20/2023, 8:05 PM
Change to
containers
{
  containers: {
    jowanzascontainer: { family: "myfamily", image: "imageURL" },
  },
}
e

elegant-gigabyte-8733

03/20/2023, 9:04 PM
Ahhh I see
Thanks @elegant-kitchen-28076
c

calm-cat-43230

03/23/2023, 6:23 PM
(This is a known bug — for reference / to vote or track: https://github.com/pulumi/pulumi-awsx/issues/882)
e

elegant-gigabyte-8733

03/23/2023, 7:52 PM
Thanks @calm-cat-43230 I should have checked github first
c

calm-cat-43230

03/23/2023, 7:57 PM
No problem! I ran into it a few months back. 🙂 Always fine to ask in the community, too! (Sometimes figuring out the right way to ask can be a stumbling block for google/github.)