cloudposse/security-group

Terraform module to provision an AWS Security Group.

Terraform module
AWS
available
Placeholder. This template is not in the library yet. Deploy opens the platform so you can start from your own repository; tell us there if you want this one.
Downloads
26.5M
Version
2.2.0
Published
2023-06-02
License
Apache-2.0
Maintainer
cloudposse

About

Terraform module to provision an AWS Security Group.

Maintained by cloudposse on the Terraform Registry. Latest version 2.2.0, 26.5M downloads. Requires providers: aws >= 3.0; null >= 3.0; random >= 3.0.

Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.

Use cases

  • Load balancers, certificates and DNS wired up in one reviewed change.
  • Edge protection applied the same way on every public endpoint.
  • Security groups and firewall rules with an owner and a reason.

Inputs

Required inputs:

  • vpc_id — string

32 inputs, 4 outputs in total. The full list, with defaults and descriptions, is on the registry page.

What it creates

  • aws_security_group × 2
  • aws_security_group_rule × 2
  • null_resource
  • random_id

How it runs on StackGuardian

Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.

Plan
Policy check
Approval
Apply

Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.

Pick a template. Deploy it with guardrails.