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

fierce-ability-58936

11/13/2022, 9:43 PM
Just shaving the yak. Wanted to create an ECS service on ec2. https://pkg.go.dev/github.com/pulumi/pulumi-awsx/sdk@v1.0.0-testplsignore.0/go/awsx/ecs#NewEC2Service easy, right? For some reason NetworkConfiguration is required, even though I passed NetworkMode: "bridge" to the task definition args. Oh well, let's do https://pkg.go.dev/github.com/pulumi/pulumi-awsx/sdk@v1.0.0-testplsignore.0/go/awsx/ecs#NewEC2TaskDefinition so that it takes care of the log group and iam roles and use plain ecs.NewService. No, it still creates a task definition with "awsvpc" network mode. Oh well: https://github.com/pulumi/pulumi-awsx/blob/master/awsx/ecs/ec2TaskDefinition.ts#L127 Ok, let's just transform that resource using pulumi.Transformations, and...it doesn't work https://github.com/pulumi/pulumi/issues/6948 Now is it easier to create my own component or fix awsx, or ask for it to be fixed? 🙂
e

echoing-dinner-19531

11/13/2022, 10:40 PM
ask for it to be fixed?
Probably that, we've got people working towards a v1.0 release of awsx so I'd hope it could at least be fixed as part of that.