mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
11 lines
188 B
Terraform
11 lines
188 B
Terraform
|
provider "aws" {}
|
||
|
|
||
|
resource "aws_security_group" "firewall" {}
|
||
|
|
||
|
resource "aws_instance" "web" {
|
||
|
security_groups = [
|
||
|
"foo",
|
||
|
"${aws_security_group.firewall.foo}"
|
||
|
]
|
||
|
}
|