File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres
77to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
88
99
10+ ## [ 0.3.2] - 2024-10-30
11+
12+ ### Changed
13+
14+ - Fix accidental mysql credential exposure.
15+
1016## [ 0.3.1] - 2023-04-14
1117
1218### Changed
Original file line number Diff line number Diff line change @@ -3,16 +3,14 @@ resource "null_resource" "execute_cloud_sql_proxy" {
33 for u in var . database_and_user_list : u . user => u
44 } : {})
55 provisioner "local-exec" {
6- command = templatefile (
7- " ${ path . module } /scripts/execute_cloud_sql_proxy.sh" ,
8- {
9- CLOUDSDK_CORE_PROJECT = var.project_id
10- CLOUDSQL_PROXY_HOST = var.cloudsql_proxy_host
11- CLOUDSQL_PROXY_PORT = var.cloudsql_proxy_port
12- GCLOUD_PROJECT_REGION = var.region
13- CLOUDSQL_INSTANCE_NAME = var.cloudsql_instance_name
14- }
15- )
6+ command = " ${ path . module } /scripts/execute_cloud_sql_proxy.sh"
7+ environment = {
8+ CLOUDSDK_CORE_PROJECT = var.project_id
9+ CLOUDSQL_PROXY_HOST = var.cloudsql_proxy_host
10+ CLOUDSQL_PROXY_PORT = var.cloudsql_proxy_port
11+ GCLOUD_PROJECT_REGION = var.region
12+ CLOUDSQL_INSTANCE_NAME = var.cloudsql_instance_name
13+ }
1614 interpreter = [
1715 " /bin/sh" , " -c"
1816 ]
You can’t perform that action at this time.
0 commit comments