File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ resource "google_container_node_pool" "workspaces" {
154
154
155
155
resource "random_string" "random" {
156
156
length = 4
157
+ upper = false
157
158
special = false
158
159
}
159
160
Original file line number Diff line number Diff line change @@ -172,8 +172,14 @@ resource "google_dns_record_set" "gitpod-dns-3" {
172
172
rrdatas = [google_compute_instance . k3s_master_instance . network_interface [0 ]. access_config [0 ]. nat_ip ]
173
173
}
174
174
175
+ resource "random_string" "random" {
176
+ length = 4
177
+ upper = false
178
+ special = false
179
+ }
180
+
175
181
resource "google_sql_database_instance" "gitpod" {
176
- name = " sql-${ var . name } "
182
+ name = " sql-${ var . name } - ${ random_string . random . result } "
177
183
database_version = " MYSQL_5_7"
178
184
region = var. gcp_region
179
185
settings {
You can’t perform that action at this time.
0 commit comments