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

Set a count of 0 on mysql-primary resources #1530

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

ChrisBAshton
Copy link
Contributor

These are no longer required, so we'll delete them.
Once these Terraform changes have been applied, we can then delete
the mysql.tf file.

Trello: https://trello.com/c/VWpD8SvY/55-remove-mysql-primary-and-mysql-standby-infrastructure-and-configuration

These are no longer required, so we'll delete them.
Once these Terraform changes have been applied, we can then delete
the mysql.tf file.

Trello: https://trello.com/c/VWpD8SvY/55-remove-mysql-primary-and-mysql-standby-infrastructure-and-configuration
Copy link
Contributor

@rtrinque rtrinque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ChrisBAshton ChrisBAshton merged commit 35c722d into master Jan 28, 2022
@ChrisBAshton ChrisBAshton deleted the remove-mysql-primary branch January 28, 2022 08:51
ChrisBAshton added a commit that referenced this pull request Jan 28, 2022
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 added a commit that referenced this pull request Jan 28, 2022
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants