fix: several aws database final snapshot issues

This commit is contained in:
Pierre Mavro
2021-03-25 23:40:56 +01:00
committed by Pierre Mavro
parent 0e8443da5c
commit 5202ff866b
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
provider "aws" {
profile = "default"
region = "{{ region }}"
version = "~> 3.18.0"
version = "~> 3.33.0"
access_key = "{{ aws_access_key }}"
secret_key = "{{ aws_secret_key }}"
}

View File

@@ -117,5 +117,5 @@ resource "aws_docdb_cluster" "documentdb_cluster" {
# Backups
backup_retention_period = var.backup_retention_period
preferred_backup_window = var.preferred_backup_window
skip_final_snapshot = var.delete_automated_backups
skip_final_snapshot = var.skip_final_snapshot
}

View File

@@ -131,7 +131,7 @@ resource "aws_db_instance" "mysql_instance" {
# Backups
backup_retention_period = var.backup_retention_period
backup_window = var.backup_window
skip_final_snapshot = var.delete_automated_backups
skip_final_snapshot = var.skip_final_snapshot
delete_automated_backups = var.delete_automated_backups
}

View File

@@ -115,7 +115,7 @@ resource "aws_db_instance" "postgresql_instance" {
# Backups
backup_retention_period = var.backup_retention_period
backup_window = var.backup_window
skip_final_snapshot = var.delete_automated_backups
skip_final_snapshot = var.skip_final_snapshot
delete_automated_backups = var.delete_automated_backups
}

View File

@@ -70,7 +70,7 @@ fn postgresql_failover_dev_environment_with_all_options() {
let span = span!(
Level::INFO,
"test",
name = "postgresql_deploy_a_working_development_environment_with_all_options"
name = "postgresql_failover_dev_environment_with_all_options"
);
let _enter = span.enter();