You're building a CI/CD (continuous integration/ continuous delivery) pipeline and need to inject sensitive variables into your Terraform run.
How can you do this safely?
- Pass variables to Terraform with a ג€"var flag
- Copy the sensitive variables into your Terraform code
- Store the sensitive variables in a secure_vars.tf file
- Store the sensitive variables as plain text in a source code repository
Reveal Solution Next Question