I want to create Security Group as separate resource, not as part of RDS module.
At first apply Terraform mark newly created SG resource as "deposed" (deposed object d99131a7)
After I removed lifecycle block (create before destroy) from Security Group resource and run apply - Terraform crashed
It seems, that I`m unable to change Aurora cluster SG from AWS Console and from Terraform as well.
Try to switch from SG created from Aurora module to SG created as separate resource and reference its ID in "vpc_security_group_ids" parameter of module.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.3.6
AWS Provider Version
4.45.0
Affected Resource(s)
AWS RDS Aurora cluster Security Group from this module (https://registry.terraform.io/modules/terraform-aws-modules/rds-aurora/aws/latest) module.rds_aurora.aws_security_group.this[0]
Expected Behavior
Recreate Security Group for Aurora cluster
Actual Behavior
I want to create Security Group as separate resource, not as part of RDS module. At first apply Terraform mark newly created SG resource as "deposed" (deposed object d99131a7) After I removed lifecycle block (create before destroy) from Security Group resource and run apply - Terraform crashed
It seems, that I`m unable to change Aurora cluster SG from AWS Console and from Terraform as well.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None