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

Fix the destroy of 'aws_security_group' for mysql-primary/replica #1532

Closed
wants to merge 1 commit into from

Commits on Jan 28, 2022

  1. Fix the destroy of 'aws_security_group' for mysql-primary/replica

    After #1530, we're hitting an error applying the plan:
    
    ```
    Error: Error applying plan:
    
    2 errors occurred:
    	* aws_security_group.mysql-replica (destroy): 1 error occurred:
    	* aws_security_group.mysql-replica: Error deleting security group: DependencyViolation: resource sg-26a3915d has a dependent object
    	status code: 400, request id: 481cb159-77ee-46ef-813a-e82a9b91f754
    
    	* aws_security_group.mysql-primary (destroy): 1 error occurred:
    	* aws_security_group.mysql-primary: Error deleting security group: DependencyViolation: resource sg-d1bc8eaa has a dependent object
    	status code: 400, request id: c9eee46f-f760-460f-929e-07e600d4c700
    ```
    
    Trying a fix outlined in hashicorp/terraform-provider-aws#1671 (comment)
    ChrisBAshton committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    7a100d2 View commit details
    Browse the repository at this point in the history