Skip to content

Conversation

madpipeline
Copy link

Description

If a SG is created and used by another resource, and a rename of the SG is required, this is only possible with recreating the using resource as well or by adding this lifecycle rule to the SG.

Motivation and Context

Described above.

Breaking Changes

None.

How Has This Been Tested?

Tested by locally updating the module and deploying.

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Copy link

github-actions bot commented Jul 5, 2025

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jul 5, 2025
@madpipeline madpipeline changed the title Fix plan order in case of used SG rename fix: Change plan order in case of used SG rename Jul 6, 2025
@madpipeline
Copy link
Author

@antonbabenko can you please review this?

@github-actions github-actions bot removed the stale label Jul 7, 2025
Copy link

github-actions bot commented Aug 7, 2025

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Aug 7, 2025
@madpipeline
Copy link
Author

This is still an issue. If this is not the proper solution for this, please let me know, so we can try to come up with something better.

@github-actions github-actions bot removed the stale label Aug 8, 2025
Copy link

github-actions bot commented Sep 8, 2025

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Sep 8, 2025
@madpipeline
Copy link
Author

Bumping. Still hoping for an answer.

@github-actions github-actions bot removed the stale label Sep 9, 2025
var.tags,
)

lifecycle {
Copy link
Member

Choose a reason for hiding this comment

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

this is not valid the way its currently written - you would face an error of a resource already existing with the same name (cannot have two security groups with the same name). This would only be possible if name_prefix was used to ensure the two groups could co-exist for a short period of time

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.

2 participants