2020-05-06 19:35:35 +02:00
|
|
|
resource foo_instance a {}
|
|
|
|
resource bar_instance b {}
|
|
|
|
|
|
|
|
terraform {
|
|
|
|
# Provider requirements go here
|
|
|
|
required_providers {
|
|
|
|
# Pin bar to this version
|
|
|
|
bar = "0.5.0"
|
2020-06-24 21:54:46 +02:00
|
|
|
# An explicit requirement
|
|
|
|
baz = {
|
|
|
|
# Comment inside the block should stay
|
|
|
|
source = "foo/baz"
|
|
|
|
}
|
|
|
|
# Foo is required
|
|
|
|
foo = {
|
|
|
|
# This comment sadly won't make it
|
|
|
|
version = "1.0.0"
|
|
|
|
}
|
2020-05-06 19:35:35 +02:00
|
|
|
}
|
|
|
|
}
|