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 #10015

Closed
mick1627 opened this issue Sep 30, 2020 · 1 comment
Closed

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

mick1627 opened this issue Sep 30, 2020 · 1 comment

Comments

@mick1627
Copy link

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.

Copy link

This issue has been migrated to hashicorp/packer-plugin-alicloud#136 due to the Packer Plugin split.

Please follow the new issue for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants