Skip to content

Conversation

@LizBaldo
Copy link
Contributor

@LizBaldo LizBaldo commented Dec 9, 2025

Description

JIRA Ticket: https://broadworkbench.atlassian.net/browse/CTM-285

Some users (Manifold) might not want to tag the actual hardware, only the AWB batch job. This change should allow for that.

I just looked at the integration test, and things looks good, with only tagResources we get
Screenshot 2025-12-10 at 9 06 33 AM

Before we were getting:
Screenshot 2025-12-10 at 9 08 21 AM

Release Notes Confirmation

CHANGELOG.md

  • I updated CHANGELOG.md in this PR
  • I assert that this change shouldn't be included in CHANGELOG.md because it doesn't impact community users

Terra Release Notes

  • I added a suggested release notes entry in this Jira ticket
  • I assert that this change doesn't need Jira release notes because it doesn't impact Terra users

@LizBaldo LizBaldo requested a review from a team as a code owner December 9, 2025 21:42
"_"
)
val doTagging = tagResources.getOrElse(false)
val doTagging = tagHardware.getOrElse(false)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the real change. doTagging triggers the _add_tags functions on the EBS volumes and EC2 instances

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so just to clarify, the jobs will still be tagged even if doTagging isn't true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, doTagging is used just to enable the function that tags the EC2 instance and the EBS volumes, if you search for propagateTag in this file, you will see that it will still depend on tagResources

@LizBaldo LizBaldo merged commit 4791bd6 into develop Dec 10, 2025
35 checks passed
@LizBaldo LizBaldo deleted the CTM-285-split-hardware-from-batch-job-tagging branch December 10, 2025 15:13
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.

4 participants