Medium
Consider the following code:
data "scaleway_account_project" "project" {
name = “star-wars-project
}
resource "scaleway_object_bucket" "bucket" {
name = "empire_bucket"
region = "fr-par"
project_id = __________
}
Which expression should be used to populate the project_id
argument, referencing the project_id
attribute of the scaleway_account_project.project
data block?
Author: Julien WITTOUCKStatus: PublishedQuestion passed 5 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
How to use a local variable in a Terraform resource declaration?2
How to check which resources will be deleted by Terraform before actually deleting them?0
What Terraform command line parameter controls the number of operations performed simultaneously during a `terraform apply`?1
What is the main advantage of Infrastructure as Code?1
What are the valid type statements in Terraform?1
What does the "terraform init" command do?0
What happens if an error occurs when executing `terraform apply`?