Skip to content
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

Use taggable security group rule resources #101

Open
nitrocode opened this issue May 26, 2024 · 3 comments
Open

Use taggable security group rule resources #101

nitrocode opened this issue May 26, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nitrocode
Copy link
Contributor

These resources are taggable

The older aws_security_group_rule is not taggable

Also the inline security group rules are also not taggable

The import terraform/tofu blocks may be able to help with the transition. If not, then release docs would be helpful.

Thank you for considering

@bwhaley bwhaley added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 28, 2024
@bwhaley
Copy link
Member

bwhaley commented May 28, 2024

Should be able to do this with moved blocks. PRs welcome!

@nitrocode
Copy link
Contributor Author

I don't think the rules can be moved using moved blocks or tf state mv since they are different resources even though both create sg rules.

I'll try to PR this in when I have some time

@bwhaley
Copy link
Member

bwhaley commented Jun 3, 2024

Oh, yeah, you're right. Can't use moved since they are different resource types. This would be a backward incompatible change that would require some careful handling to do without removing and then re-adding the rule. We can document how to do it in the release notes. I'd probably wait a bit before pushing this out given all the recent changes in the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants