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

Add ignore_changes for replicate_source_db and Configure Subnet Group with Public Access for RDS Replica #31

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

alandavid
Copy link
Contributor

This pull request includes two main updates:

Lifecycle Ignore for replicate_source_db:

Added a lifecycle block with ignore_changes for the replicate_source_db attribute in the aws_db_instance resource.
This change addresses a limitation where updates to the ARN require the resource name to be updated. By ignoring changes to replicate_source_db, we prevent unnecessary updates and maintain consistency with the current workaround.
Subnet Group and Public Access Configuration for RDS Replica:

Added a new subnet group configuration for the RDS replica to ensure it operates across different subnets.
Enabled the public access flag for the RDS replica to facilitate external connectivity if required.
Changes Made:
Ignore Changes: Applied ignore_changes to the replicate_source_db attribute to handle ARN update limitations.
Subnet Group: Configured a new subnet group for the RDS replica.

Added a new subnet group configuration for the RDS replica to ensure it operates for differents subnets.
Enabled the flag to allow public access to the RDS replica, facilitating external connectivity if required required.
…ate Limitation

Added ignore_changes for the replicate_source_db field in the aws_db_instance resource.
This workaround addresses the limitation where the name needs to be updated to match the ARN, avoiding unnecessary updates due to changes in this field.
@alandavid alandavid changed the title Feature/replica subnetgroup Add ignore_changes for replicate_source_db and Configure Subnet Group with Public Access for RDS Replica Jul 29, 2024
@alandavid alandavid merged commit b8660b8 into master Jul 29, 2024
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