-
Notifications
You must be signed in to change notification settings - Fork 661
feat: Allow to toggle access to EC2 instance tags #2592
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MGSousa looks good, but curious in what case do you disable the metadaservice_tags? The instance start-up requires on tags. Or do you use an alternative user_data script to start your runners in such way you are not requiring the tags.
For this case, I need to disable this metadata service since this restricts "spacing" in tags (aws/aws-sdk#410), and for now, it's the only solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, need to run a quick deployment test. Added a small suggestion
Co-authored-by: Niek Palm <[email protected]>
Updated description for the metadata_options variable Co-authored-by: Niek Palm <[email protected]>
## [1.15.0](philips-labs/terraform-aws-github-runner@v1.14.0...v1.15.0) (2022-11-08) ### Features * Allow to toggle access to EC2 instance tags ([#2592](https://github.com/philips-labs/terraform-aws-github-runner/issues/2592)) ([55fba22](philips-labs/terraform-aws-github-runner@55fba22)) ### Bug Fixes * Use aws_partition for govcloud users in ami_id_ssm_parameter_read policy definition ([#2614](https://github.com/philips-labs/terraform-aws-github-runner/issues/2614)) ([7ac65e5](philips-labs/terraform-aws-github-runner@7ac65e5))
## [1.15.0](philips-labs/terraform-aws-github-runner@v1.14.0...v1.15.0) (2022-11-08) ### Features * Allow to toggle access to EC2 instance tags ([#2592](https://github.com/philips-labs/terraform-aws-github-runner/issues/2592)) ([55fba22](philips-labs/terraform-aws-github-runner@55fba22)) ### Bug Fixes * Use aws_partition for govcloud users in ami_id_ssm_parameter_read policy definition ([#2614](https://github.com/philips-labs/terraform-aws-github-runner/issues/2614)) ([7ac65e5](philips-labs/terraform-aws-github-runner@7ac65e5))
## [1.15.0](philips-labs/terraform-aws-github-runner@v1.14.0...v1.15.0) (2022-11-08) ### Features * Allow to toggle access to EC2 instance tags ([#2592](https://github.com/philips-labs/terraform-aws-github-runner/issues/2592)) ([55fba22](philips-labs/terraform-aws-github-runner@55fba22)) ### Bug Fixes * Use aws_partition for govcloud users in ami_id_ssm_parameter_read policy definition ([#2614](https://github.com/philips-labs/terraform-aws-github-runner/issues/2614)) ([7ac65e5](philips-labs/terraform-aws-github-runner@7ac65e5))
Added variable option for toggle (
enabled
/disabled
) access to EC2 instance tags through metadata service.