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-0.5.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.5.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.5.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.5.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.4.4 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.4.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.4.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.4.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.4.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.6 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.5 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.4 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.3.0 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.2.4 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.2.3 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.2.2 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
terraspace-0.2.1 spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb