Medium
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 145 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Which commands are used to download and update modules in Terraform?1
What is the main advantage of Infrastructure as Code?1
What does the "terraform init" command do?1
Which provider versions is Terraform allowed to install?1
What Terraform command line parameter controls the number of operations performed simultaneously during a `terraform apply`?2
How to check which resources will be deleted by Terraform before actually deleting them?2
What are the valid type statements in Terraform?