You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apply_immediately = true
allocated_storage = 10
engine = "mariadb"
engine_version = "10.0.24"
instance_class = "db.t2.medium"
# add this back in after RDS has been created
name = "wordpress"
identifier = "lh-wordpress-${var.stage}"
multi_az = true
username = "${var.aws_rds_username}"
password = "${var.aws_rds_password}"
db_subnet_group_name = "${var.aws_vpc_subnet_shared}"
vpc_security_group_ids = ["${aws_security_group.rds.id}"]
parameter_group_name = "default.mariadb10.0"
final_snapshot_identifier = "lh-wordpress-${var.stage}-final"
# remove the snapshot_identifier # snapshot_identifier = "lh-wordpress-staging-before-tf"
copy_tags_to_snapshot = true
backup_retention_period = 30
backup_window = "07:00-08:00"
maintenance_window = "sun:10:00-sun:11:00"
tags {
Name = "lh-wordpress-${var.stage}"
cluster = "lh-wordpress-${var.stage}"
terraform = "true"
}
}
Debug Output
snapshot_identifier: "lh-wordpress-staging-before-tf" => "" (forces new resource)
Expected Behavior
No change required. In the future and for other environments I don't want this snapshot used. This snapshot was a restoration, because the last terraform run killed my DB
Actual Behavior
It wants to kill my newly restored db
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply with the snapshot you need restored
remove the snapshot_identifier you no longer need because your db is now working
terraform apply
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 10, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.8.4
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
No change required. In the future and for other environments I don't want this snapshot used. This snapshot was a restoration, because the last terraform run killed my DB
Actual Behavior
It wants to kill my newly restored db
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
with the snapshot you need restoredterraform apply
The text was updated successfully, but these errors were encountered: