Can I set the <AWS ECS account settings> using pul...
# general
a
Can I set the AWS ECS account settings using pulumi? Specifically I want to enable Dual-stack VPC IPv6:
dualStackIPv6
I can set this using the aws cli, but I’ve a multi-account setup configured with pulumi and would need to set that for every account.
It seems pulumi only supports
containerInsights
of the settings listed at that page.
Copy code
const cluster = new aws.ecs.Cluster("cluster", {
    settings: [{
        name: "dualStackIPv6",
        value: "enabled"
    }]
})
fails with:
Copy code
aws:ecs:Cluster (cluster):
    error: aws:ecs/cluster:Cluster resource 'cluster' has a problem: expected setting.0.name to be one of [containerInsights], got dualStackIPv6. Examine values at 'Cluster.Settings'.
I’d like to invoke this command using pulumi: https://docs.aws.amazon.com/cli/latest/reference/ecs/put-account-setting-default.html
Copy code
aws ecs put-account-setting-default --name dualStackIPv6 --value enabled --region my-region
So I did find: https://www.pulumi.com/registry/packages/aws/api-docs/ecs/accountsettingdefault/ but it also doesn’t support
dualStackIPv6