Cloud SQL activation policy selectable (#1613)
* Update main.tf added activation policy * Update variables.tf added activation_policy variable defaulted as ALWAYS for non regression * corrections requested by @juliocc * Regeneration of README.md on cloudsql-instance mod * terraform fmt changes * bug correctionand activation_policy on replicas * activation_policy description change and README.md * Bug correction
This commit is contained in:
committed by
GitHub
parent
e4a33b56e0
commit
befbd190a3
@@ -59,6 +59,7 @@ resource "google_sql_database_instance" "primary" {
|
||||
disk_type = var.disk_type
|
||||
availability_type = var.availability_type
|
||||
user_labels = var.labels
|
||||
activation_policy = var.activation_policy
|
||||
|
||||
ip_configuration {
|
||||
ipv4_enabled = var.ipv4_enabled
|
||||
@@ -137,7 +138,8 @@ resource "google_sql_database_instance" "replicas" {
|
||||
disk_size = var.disk_size
|
||||
disk_type = var.disk_type
|
||||
# availability_type = var.availability_type
|
||||
user_labels = var.labels
|
||||
user_labels = var.labels
|
||||
activation_policy = var.activation_policy
|
||||
|
||||
ip_configuration {
|
||||
ipv4_enabled = var.ipv4_enabled
|
||||
|
||||
Reference in New Issue
Block a user