Skip to content

Commit

Permalink
fix: scw better handling passwords in TF (#471)
Browse files Browse the repository at this point in the history
Passwords breaks TF if starts with a special char.
  • Loading branch information
benjaminch authored Oct 27, 2021
1 parent aefc3ef commit 9fbc4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/scaleway/services/mysql/variables.j2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ variable "instance_class" {

variable "username" {
description = "Admin username for the master DB user"
default = '{{ database_login }}'
default = "{{ database_login }}"
type = string
}

variable "password" {
description = "Admin password for the master DB user"
default = '{{ database_password }}'
default = "{{ database_password }}"
type = string
}

Expand Down
4 changes: 2 additions & 2 deletions lib/scaleway/services/postgresql/variables.j2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ variable "instance_class" {

variable "username" {
description = "Admin username for the master DB user"
default = '{{ database_login }}'
default = "{{ database_login }}"
type = string
}

variable "password" {
description = "Admin password for the master DB user"
default = '{{ database_password }}'
default = "{{ database_password }}"
type = string
}

Expand Down

0 comments on commit 9fbc4a5

Please sign in to comment.