-
Notifications
You must be signed in to change notification settings - Fork 6
/
f5-cloudformation-cross-az-ha-bigiq.tf.dormant
42 lines (33 loc) · 1.52 KB
/
f5-cloudformation-cross-az-ha-bigiq.tf.dormant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
resource "aws_cloudformation_stack" "f5-cluster-cross-az" {
name = "ha-${var.emailidsan}-${aws_vpc.terraform-vpc.id}"
capabilities = ["CAPABILITY_IAM"]
parameters {
#NETWORKING CONFIGURATION
Vpc = "${aws_vpc.terraform-vpc.id}"
managementSubnetAz1 = "${aws_subnet.f5-management-d.id}"
managementSubnetAz2 = "${aws_subnet.f5-management-e.id}"
bigipManagementSecurityGroup = "${aws_security_group.f5_management.id}"
subnet1Az1 = "${aws_subnet.public-d.id}"
subnet1Az2 = "${aws_subnet.public-e.id}"
bigipExternalSecurityGroup = "${aws_security_group.f5_data.id}"
#INSTANCE CONFIGURATION
imageName = "Good"
instanceType = "t2.medium"
restrictedSrcAddress = "0.0.0.0/0"
sshKey = "${var.aws_keypair}"
restrictedSrcAddress = "0.0.0.0/0"
#BIG-IQ LICENSING CONFIGURATION
bigiqAddress = "${var.bigiqLicenseManager}"
bigiqUsername = "admin"
bigiqPasswordS3Arn = "arn:aws:s3:::f5-marfil/passwd"
bigiqLicensePoolName = "${var.bigiqLicensePoolName}"
#TAGS
application = "f5app"
environment = "f5env"
group = "f5group"
owner = "f5owner"
costcenter = "f5costcenter"
}
#CloudFormation templates triggered from Terraform must be hosted on AWS S3. Experimental hosted in non-canonical S3 bucket.
template_url = "https://s3.amazonaws.com/f5-marfil/f5-existing-stack-across-az-cluster-bigiq-2nic-bigip.template"
}