Skip to content

Commit 1aba9ed

Browse files
authored
chore: added note in documentation for disk size variable (#149)
1 parent ef79b17 commit 1aba9ed

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

examples/mysql-private/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ locals {
4545

4646
module "network-safer-mysql-simple" {
4747
source = "terraform-google-modules/network/google"
48-
version = "~> 1.4"
48+
version = "~> 2.5"
4949

5050
project_id = var.project_id
5151
network_name = local.network_name

modules/mysql/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# terraform-google-sql for MySQL
22

3+
Note: CloudSQL provides [disk autoresize](https://cloud.google.com/sql/docs/mysql/instance-settings#automatic-storage-increase-2ndgen) feature which can cause a [Terraform configuration drift](https://www.hashicorp.com/blog/detecting-and-managing-drift-with-terraform) due to the value in `disk_size` variable, and hence any updates to this variable is ignored in the [Terraform lifecycle](https://www.terraform.io/docs/configuration/resources.html#ignore_changes).
4+
35
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
46
## Inputs
57

modules/postgresql/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# terraform-google-sql for PostgreSQL
22

3+
Note: CloudSQL provides [disk autoresize](https://cloud.google.com/sql/docs/mysql/instance-settings#automatic-storage-increase-2ndgen) feature which can cause a [Terraform configuration drift](https://www.hashicorp.com/blog/detecting-and-managing-drift-with-terraform) due to the value in `disk_size` variable, and hence any updates to this variable is ignored in the [Terraform lifecycle](https://www.terraform.io/docs/configuration/resources.html#ignore_changes).
4+
35
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
46
## Inputs
57

0 commit comments

Comments
 (0)