Sha256: 4cce0efa82d51f0d72ed676053692b5664de41bc3bac628467a88fd19bc51353

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

# Create a Vault security group
resource "aws_security_group" "vault-sg" {
  name        = "vault-sg"
  description = "Vault security group"
  vpc_id      = "${aws_vpc.default.id}"
  tags {
  Name = "vault-sg"
  component = "vault"
  }

  # outbound internet access
  egress {
    from_port   = 0
    to_port     = 0
    protocol    = "-1"
    cidr_blocks = ["0.0.0.0/0"]
  }

  # inbound http
  ingress {
    from_port   = 8200
    to_port     = 8200
    protocol    = "tcp"
    cidr_blocks = ["0.0.0.0/0"]
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kite-0.0.4 tpl/aws/terraform/aws-vault.tf
kite-0.0.3 tpl/aws/terraform/aws-vault.tf