Easy
Consider the following block of code:
locals {
region = "fr-par"
}
resource "scaleway_rdb_instance" "main" {
node_type = "DB-DEV-S"
engine = "PostgreSQL-11"
region = ______
}
How to set the region
parameter of the scaleway_rdb_instance.main
resource using the local variable?
Author: Julien WITTOUCKStatus: PublishedQuestion passed 29 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
0
What are the valid type statements in Terraform?1
How to use variables defined in a file when creating an execution plan in Terraform?0
How to mark an output value as sensitive in Terraform?0
Which provider versions is Terraform allowed to install?0
What happens if an error occurs when executing `terraform apply`?0
How to reuse the same code to initialize several environments with different variable values, and different states in Terraform?0
What Terraform command line parameter controls the number of operations performed simultaneously during a `terraform apply`?