Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

HTTP Security Group example

Configuration in this directory creates set of Security Group and Security Group Rules resources in various combination.

Data sources are used to discover existing VPC resources (VPC and default security group).

Usage

To run this example you need to execute:

$ terraform init
$ terraform plan
$ terraform apply

Note that this example may create resources which cost money. Run terraform destroy when you don't need these resources.

Requirements

Name Version
terraform >= 0.13.1
aws >= 3.29

Providers

Name Version
aws >= 3.29

Modules

Name Source Version
complete_sg_disabled ../../ n/a
http_sg_disabled ../../modules/http-80 n/a

Resources

Name Type
aws_security_group.default data source
aws_vpc.default data source

Inputs

No inputs.

Outputs

Name Description
security_group_arn The ARN of the security group
security_group_id The ID of the security group