v3.0.0 Breaking Changes
Breaking Changes
This module includes breaking changes due to upgrading from terraform-aws-security-group v1 to v2. You can read the full details of the security group changes and how to migrate in migration notes linked below under "references", but the short story is this:
- If you were using this modules default value of
true
forsecurity_group_create_before_destroy
then you need not make any changes. If you were explicitly setting it tofalse
, we strongly advise you to read the migration notes because that setting previously did not work, raising the question of whether you want to pay the price of converting to the new module with workingfalse
behavior or perform the recommended upgrade to thetrue
. - If you are referring by ID to the security group created by this module in other security group's rules outside the Terraform plan that controls this one, then you should read the security group migration notes discussion of the new input
preserve_security_group_id
and probably set it totrue
Upgrade versions @johncblandii (#54)
what
- Upgrade versions to the latest
Key changes in terraform-aws-security-group
v2.0 affecting this release
- create_before_destory default changed from false to true
- preserve_security_group_id added, defaults to false
- Terraform version 1.0.0 or later required
why
- The module fails when used with the latest https://github.com/cloudposse/terraform-aws-components
references
- cloudposse/terraform-aws-components#602
- Migration Notes for Security Group v2.0