Configuration in this directory creates set of Security Group and Security Group Rules resources in various combinations.
Data sources are used to discover existing VPC resources (VPC and default security group).
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.
No requirements.
Name | Version |
---|---|
aws | n/a |
No input.
Name | Description |
---|---|
this_security_group_description | The description of the security group |
this_security_group_id | The ID of the security group |
this_security_group_name | The name of the security group |
this_security_group_owner_id | The owner ID |
this_security_group_vpc_id | The VPC ID |