aws_resiliencehubv2_service: Add 'associated_system' configuration block - #49498
Open
hwkiem wants to merge 1 commit into
Open
aws_resiliencehubv2_service: Add 'associated_system' configuration block#49498hwkiem wants to merge 1 commit into
hwkiem wants to merge 1 commit into
Conversation
Contributor
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
hwkiem
force-pushed
the
claude/resiliencehub-v2-service-system-9d20c4
branch
from
August 14, 2026 16:05
4293277 to
54ec4b0
Compare
hwkiem
force-pushed
the
claude/resiliencehub-v2-service-system-9d20c4
branch
from
August 14, 2026 16:06
54ec4b0 to
0d57359
Compare
hwkiem
marked this pull request as ready for review
August 14, 2026 16:32
hwkiem
force-pushed
the
claude/resiliencehub-v2-service-system-9d20c4
branch
from
August 14, 2026 16:40
0d57359 to
e367981
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
No changes to security controls in this pull request.
Description
Adds the
associated_systemconfiguration block to theaws_resiliencehubv2_serviceresource, and the matching computed attribute to its data source, so a service can be associated with a system.The API has no
Associate*operation — the relationship is a field on the service (AssociatedSystemsonCreateService/UpdateService), so it is modelled as an argument, like the existingpolicy_arn.Notes for reviewers:
UpdateServicetreats an omittedAssociatedSystemsas "no change", soUpdatesends an explicitly empty list when the last block is removed. Without this, removing every block applies cleanly but leaves the systems associated in AWS, and the next refresh plans them straight back — verified against the API, and covered by the third step ofTestAccResilienceHubV2Service_associatedSystem.AssociatedSystem.UserJourneyIdsis deferred untilaws_resiliencehubv2_user_journey(F resiliencehubv2 user journey #48330) lands. Using a block rather than a flat set of ARNs keeps adding it additive.aws_resiliencehubv2_systemsweeper now depends on the service sweeper, sinceDeleteSystemcan fail while an associated service exists.I understand the author of #48330 may intend to cover system association there. As of its current diff that PR does not touch
AssociatedSystems, so this is raised to be taken or left as the maintainers prefer — happy to close it if it is better folded into the user journey work.Relations
Closes #49475
Relates #48122
Relates #48330
References
AssociatedSystemdata typeOutput from Acceptance Testing