opentofu/config/test-fixtures/dir-basic/one.tf
Mitchell Hashimoto 038cca291e config: HCL loader
2014-08-11 09:58:53 -07:00

18 lines
285 B
HCL

variable "foo" {
default = "bar"
description = "bar"
}
provider "aws" {
access_key = "foo"
secret_key = "bar"
}
resource "aws_instance" "db" {
security_groups = "${aws_security_group.firewall.*.id}"
}
output "web_ip" {
value = "${aws_instance.web.private_ip}"
}