Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions about Terraform, an open source tool to maintain infrastructure.
2
votes
Terraform: Is there a concise syntax for specifying multiple tags for a resource?
Another option is to use the terraform-null-label module. It supports passing a variable called tags as a standard Terraform map. … For example, you can do this:
module "example" {
source = "git::https://github.com/cloudposse/terraform-null-label.git? …
4
votes
Accepted
How can I get terraforms extern to execute `ssh-keygen -y -f ~/.ssh/id_rsa`?
The best way to achieve what you're trying to do (generate an openssh public key from an id_rsa private key) is using the tls_public_key data provider built-in to terraform. … "
}
Then to get the public key suitable for openssh, you can access
"${data.tls_public_key.example.public_key_openssh}"
Lastly, if you are open to generating a new SSH key pair, you can use the terraform-tls-ssh-key-pair …
11
votes
How can I manage secrets in .tf and .tfstate?
chamber exec db -- terraform plan
This assumes you've defined a variable called DB_USER and DB_PASS in your HCL code. … terraform-aws-kms-key to make provisioning the KMS key easy. …
4
votes
What is the difference between modules and workspaces in Terraform
Terraform modules are a way to encapsulate reusable business logic in order to be DRY. … On the other hand, Terraform workspaces are a way to isolate terraform state between environments. For example, you don't want to mingle state between a production and staging environments. …