terraform-aws-security-group icon indicating copy to clipboard operation
terraform-aws-security-group copied to clipboard

Security group list -> map -> resources?

Open Lillecarl opened this issue 1 year ago β€’ 1 comments

Is your request related to a new offering from AWS?

  • No πŸ›‘: please wait to file a request until the functionality is avaialble in the AWS provider

Is your request related to a problem? Please describe.

All security group rules are deleted and created if you remove the first entry

Describe the solution you'd like.

I tried an implementation using substring(sha265(jsonformat(object)), 0, 5) as key for a resource list and it worked well. It'll recreate instead of modify a rule if you change any value, but it wont affect other resources.

Describe alternatives you've considered.

Not using the module, it's not too many resource types, dependencies and stuff anyways.

Additional context

Thanks for all your work πŸ˜„

Lillecarl avatar Feb 07 '24 17:02 Lillecarl

I am aware of this as a limitation, unfortunately.

This feature requires a big rewrite of the module, which currently needs to be planned.

antonbabenko avatar Feb 07 '24 20:02 antonbabenko

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

github-actions[bot] avatar Mar 09 '24 00:03 github-actions[bot]

Acknowledgement is good enough :)

Lillecarl avatar Mar 09 '24 19:03 Lillecarl

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Apr 09 '24 02:04 github-actions[bot]