Skip to content

Instantly share code, notes, and snippets.

@ovitente
Created November 10, 2020 13:31
Show Gist options
  • Save ovitente/19a1a8769ca84b37f50e792103dbe79e to your computer and use it in GitHub Desktop.
Save ovitente/19a1a8769ca84b37f50e792103dbe79e to your computer and use it in GitHub Desktop.
push new version of tf vars into gsm secret in one string
cp dev.tf variables.tf && gcloud secrets --project=MYGCP_PROGECT versions add terraform_variables_file --data-file=variables.tf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment