empire
empire copied to clipboard
Upcoming AWS change in ARN format breaks `emp ps`
AWS have long had an option to use a new format for ECS arns for services, tasks and container-instances, see https://aws.amazon.com/blogs/compute/migrating-your-amazon-ecs-deployment-to-the-new-arn-and-resource-id-format-2/ What's new is that from October 2020 these options default to on for new accounts, and April 2021 they become mandatory for all accounts. So from that latter date our existing empire controllers will see a mix of old & newer formats.
I've tested this by making a new account with the options turned on and it mostly works. The only fault I've found so far is that emp ps
breaks, giving a "invalid ARN resource" error, likely from https://github.com/remind101/empire/blob/7ab6b866c6f4d884abf5900915c33db878c58aa2/pkg/arn/arn.go#L63-L77
Anybody else come across this?