opentofu/config/test-fixtures/dir-basic/one.tf

22 lines
323 B
Terraform
Raw Normal View History

2014-07-28 12:43:00 -05:00
variable "foo" {
2014-08-05 00:04:48 -05:00
default = "bar"
description = "bar"
2014-07-28 12:43:00 -05:00
}
provider "aws" {
2014-08-05 00:04:48 -05:00
access_key = "foo"
secret_key = "bar"
2014-07-28 12:43:00 -05:00
}
data "do" "simple" {
foo = "baz"
}
2014-07-28 12:43:00 -05:00
resource "aws_instance" "db" {
security_groups = "${aws_security_group.firewall.*.id}"
}
output "web_ip" {
value = "${aws_instance.web.private_ip}"
}