Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In terraform, when declaring a resource block in the config *.tf file(s), you give the resource type (as part of the block label), which is always prefixed with the [...] name.
Answer

provider

^^^ e.g. below, note the aws prefix (for aws provider) in the "aws_instance" block label (remember that "resource" is block type and "aws_instance" and "example" are block labels)

resource "aws_instance" "example" {
  ami           = "ami-2757f631"
  instance_type = "t2.micro"
}


Question
In terraform, when declaring a resource block in the config *.tf file(s), you give the resource type (as part of the block label), which is always prefixed with the [...] name.
Answer
?

Question
In terraform, when declaring a resource block in the config *.tf file(s), you give the resource type (as part of the block label), which is always prefixed with the [...] name.
Answer

provider

^^^ e.g. below, note the aws prefix (for aws provider) in the "aws_instance" block label (remember that "resource" is block type and "aws_instance" and "example" are block labels)

resource "aws_instance" "example" {
  ami           = "ami-2757f631"
  instance_type = "t2.micro"
}


Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.