Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add run_tags for alicloud-ecs Builder to tag created ecs instance #136

Open
hc-github-team-packer opened this issue Apr 15, 2024 · 0 comments
Labels
stage/needs-verification Issue needs verifying it still exists

Comments

@hc-github-team-packer
Copy link

This issue was originally opened by @mick1627 in hashicorp/packer#10015 and has been migrated to this repository. The original issue description is below.


Description

Be able to add tag to the instance created in alicoud by alicloud-ecs.
Something like the parameter run_tags in amazon-ebs provider.

Use Case(s)

Once this is done, We will be able to restrict access to ec2 instance based on tag, cf =>
https://www.alibabacloud.com/help/doc-detail/67912.htm?spm=a2c63.p38356.b99.151.3adb6612ZOeMYJ
Exemple:
{
"Statement": [
{
"Action": "ecs:",
"Effect": "Allow",
"Resource": "
",
"Condition": {
"StringEquals": {
"ecs:tag/team": "packer"
}
}
},
],
"Version": "1"
}

The idea is to limit ec2 access for some action like DeleteInstances, StopInstance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-verification Issue needs verifying it still exists
Projects
None yet
Development

No branches or pull requests

2 participants