Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 215
Add sensitive_fields to resources.yml#6192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
bb5c0fd128f216d5cb80636b73a4b31e756eb76088fcba41f5ff895e20bb9f4eaf8020bff43146835f00c8076a478db5817c719a97ef15bf78556a6931b35fc0794e6File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| bundle: | ||
| name: test-bundle-$UNIQUE_NAME | ||
| variables: | ||
| secret_value: | ||
| description: The value of the secret | ||
| resources: | ||
| secrets: | ||
| foo: | ||
| catalog_name: main | ||
| schema_name: default | ||
| name: test-secret-$UNIQUE_NAME | ||
| value: ${var.secret_value} | ||
| grants: | ||
| - principal: account users | ||
| privileges: | ||
| - MANAGE |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export BUNDLE_VAR_secret_value="secret-value" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,6 @@ | ||
| EnvMatrix.READPLAN = ["", "1"] | ||
| [EnvMatrixExclude] | ||
| # Secrets have sensitive fields (json:"-") that are stripped when a plan is serialized to JSON, | ||
andrewnester marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| # so deploying from a pre-computed plan file creates the secret with an empty value. | ||
| no_secret_with_readplan = ["READPLAN=1", "INPUT_CONFIG=secret.yml.tmpl"] | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.