forked from vbojko/marfil-f5-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathf5-cloudformation-cross-az-ha-hourly.tf
45 lines (34 loc) · 1.61 KB
/
f5-cloudformation-cross-az-ha-hourly.tf
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
43
44
45
resource "aws_cloudformation_stack" "f5-cluster-cross-az-ha-hourly" {
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-a.id}"
managementSubnetAz2 = "${aws_subnet.f5-management-b.id}"
bigipManagementSecurityGroup = "${aws_security_group.f5_management.id}"
subnet1Az1 = "${aws_subnet.public-a.id}"
subnet1Az2 = "${aws_subnet.public-b.id}"
bigipExternalSecurityGroup = "${aws_security_group.f5_data.id}"
#INSTANCE CONFIGURATION
imageName = "Good25Mbps"
instanceType = "m4.xlarge"
restrictedSrcAddress = "0.0.0.0/0"
sshKey = "${var.aws_keypair}"
restrictedSrcAddress = "0.0.0.0/0"
ntpServer = "0.pool.ntp.org"
#BIG-IQ LICENSING CONFIGURATION
# bigiqAddress = "${var.bigiqLicenseManager}"
# bigiqUsername = "admin"
# bigiqPasswordS3Arn = "arn:aws:s3:::f5-public-cloud/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-public-cloud/f5-existing-stack-across-az-cluster-hourly-2nic-bigip.template"
}