driftctl/pkg/remote/test/vpc_security_group_multiple/terraform.tf

29 lines
375 B
HCL

provider "aws" {
region = "us-east-1"
}
terraform {
required_providers {
aws = "3.19.0"
}
}
resource "aws_security_group" "foo-sg" {
name = "foo"
tags = {
Name = "Foo SG"
}
}
resource "aws_vpc" "vpc" {
cidr_block = "10.0.0.0/16"
}
resource "aws_default_security_group" "default" {
vpc_id = aws_vpc.vpc.id
tags = {
Name = "Default SG"
}
}