-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Description
Terraform Version
0.9.4
Affected Resource(s)
aws_security_group_rule
Terraform Configuration Files
provider "aws" {
access_key = ""
secret_key = ""
insecure = true
skip_credentials_validation = true
skip_region_validation = true
region = "eucalyptus"
endpoints {
ec2 = "xxxxxxxxxxxxxxxxxxxxxxx"
iam = "xxxxxxxxxxxxxxxxxxxxxxx"
elb = "xxxxxxxxxxxxxxxxxxxx"
}
}
resource "aws_security_group" "mesos-masters-sakhtar2" {
name = "mesos-masters-sakhtar2"
description = "Security Group for mesos masters of PaaS sakhtar2"
ingress {
from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"]
}
}
resource "aws_security_group" "mesos-slaves-sakhtar2" {
name = "mesos-slaves-sakhtar2"
description = "Security Group for mesos slaves of PaaS sakhtar2"
ingress {
from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"]
}
}
resource "aws_security_group_rule" "allow53tcp" {
type = "ingress"
from_port = 53
to_port = 53
protocol = "tcp"
security_group_id = "${aws_security_group.mesos-masters-sakhtar2.id}"
source_security_group_id = "${aws_security_group.mesos-slaves-sakhtar2.name}"
}
resource "aws_security_group_rule" "allow53udp" {
type = "ingress"
from_port = 53
to_port = 53
protocol = "udp"
security_group_id = "${aws_security_group.mesos-masters-sakhtar2.id}"
source_security_group_id = "${aws_security_group.mesos-slaves-sakhtar2.name}"
}
command output:
https://gist.github.com/shamimgeek/2b11da238795f195f7568ab0a8780775
Metadata
Metadata
Assignees
Labels
No labels