Skip to content

feat: support additional_tags on worker launch template#1383

Open
lorenzstorm1 wants to merge 1 commit into
cattle-ops:mainfrom
lorenzstorm1:feat/worker-additional-tags
Open

feat: support additional_tags on worker launch template#1383
lorenzstorm1 wants to merge 1 commit into
cattle-ops:mainfrom
lorenzstorm1:feat/worker-additional-tags

Conversation

@lorenzstorm1

Copy link
Copy Markdown

Summary

Adds an additional_tags field to runner_worker_docker_autoscaler_instance that applies tags exclusively to the worker launch template's tag_specifications (instance, volume, network-interface) without affecting the runner manager instance.

This enables use cases like excluding ephemeral CI workers from AWS GuardDuty Runtime Monitoring while keeping the manager monitored.

Usage

runner_worker_docker_autoscaler_instance = {
  additional_tags = { "GuardDutyManaged" = "false" }
}

Closes #1369

Changes

  • variables.tf: Add additional_tags = optional(map(string), {}) to the runner_worker_docker_autoscaler_instance object
  • tags.tf: Add worker_tags local that merges local.tags with the new additional_tags
  • docker_autoscaler.tf: Use local.worker_tags in tag_specifications blocks

🤖 Generated with Claude Code

Add `additional_tags` field to `runner_worker_docker_autoscaler_instance`
to allow tagging worker instances independently of the runner manager.
Tags are merged into the launch template's tag_specifications for
instance, volume, and network-interface resource types.

Closes cattle-ops#1369

🤖 Generated with Claude Code
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Hey @lorenzstorm1! 👋

Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process.

Make sure that this PR clearly explains:

  • the problem being solved
  • the best way a reviewer and you can test your changes

With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE.

The following ChatOps commands are supported:

  • /help: notifies a maintainer to help you out

Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command.

This message was generated automatically. You are welcome to improve it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support additional_tags on worker launch template (docker-autoscaler)

1 participant