Skip to content

Commit

Permalink
Merge pull request #13 from johanneswuerbach/secret-outputs
Browse files Browse the repository at this point in the history
fix: move secret outputs to values
  • Loading branch information
johanneswuerbach authored Jun 7, 2024
2 parents f778cfa + e962177 commit 3313cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions humanitec-resource-defs/mysql/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ host: {{ .init.name }}
port: {{ .init.port }}
name: {{ .init.database }}
EOL
}
})
secrets_string = jsonencode({
templates = {
outputs = <<EOL
secrets = <<EOL
username: {{ .init.user }}
password: {{ .init.password }}
EOL
Expand Down
6 changes: 1 addition & 5 deletions humanitec-resource-defs/postgres/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ host: {{ .init.name }}
port: {{ .init.port }}
name: {{ .init.database }}
EOL
}
})
secrets_string = jsonencode({
templates = {
outputs = <<EOL
secrets = <<EOL
username: {{ .init.user }}
password: {{ .init.password }}
EOL
Expand Down

0 comments on commit 3313cdd

Please sign in to comment.