Sha256: 973e7bf193212a8b91773aedc673177d79e689ce97d00b26b434307af5ca5243

Contents?: true

Size: 313 Bytes

Versions: 104

Compression:

Stored size: 313 Bytes

Contents

resource("aws_security_group", "demo-sg",
  name: var.name,
  description: "Demo Security Group",

  ingress: [
    description: "TLS from VPC",
    from_port:   443,
    to_port:     443,
    protocol:    "tcp",
    cidr_blocks: ["0.0.0.0/0"], # aws_vpc.main.cidr_block
  ],

  tags: {
    Name: var.name,
  }
)

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
terraspace-2.1.5 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.1.4 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.1.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.1.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.1.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.1.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.0.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.0.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.0.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-2.0.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.7 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.6 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.5 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.4 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.1.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.0.6 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-1.0.5 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb