зеркало из https://github.com/mozilla/mig-deploy.git
specify az on base creation
This commit is contained in:
Родитель
ce61904398
Коммит
3a4363825c
|
@ -20,3 +20,4 @@
|
|||
InstanceType: "t2.micro"
|
||||
KeyName: "{{ keys }}"
|
||||
DeployRepo: "{{ deployrepo }}"
|
||||
AvailabilityZone: "{{ availability_zone }}"
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
"DeployRepo": {
|
||||
"Type": "String",
|
||||
"Description": "URL for MIG deploy repo"
|
||||
},
|
||||
"AvailabilityZone": {
|
||||
"Type": "String",
|
||||
"Description": "Availability zone to use for subnets"
|
||||
}
|
||||
},
|
||||
"Resources": {
|
||||
|
@ -59,6 +63,7 @@
|
|||
"Properties": {
|
||||
"VpcId": { "Ref": "VPC" },
|
||||
"CidrBlock": "10.20.0.0/24",
|
||||
"AvailabilityZone": { "Ref": "AvailabilityZone" },
|
||||
"Tags": [
|
||||
{ "Key": "Name", "Value": "mig public subnet" }
|
||||
]
|
||||
|
@ -94,6 +99,7 @@
|
|||
"Properties": {
|
||||
"VpcId": { "Ref": "VPC" },
|
||||
"CidrBlock": "10.20.1.0/24",
|
||||
"AvailabilityZone": { "Ref": "AvailabilityZone" },
|
||||
"MapPublicIpOnLaunch": "false",
|
||||
"Tags": [
|
||||
{ "Key": "Name", "Value": "mig private subnet" }
|
||||
|
@ -192,6 +198,11 @@
|
|||
"Value": { "Ref": "PublicSubnet" },
|
||||
"Export": { "Name": {"Fn::Sub": "${AWS::StackName}-PublicSubnet" }}
|
||||
},
|
||||
"AvailabilityZone": {
|
||||
"Description": "Availability zone",
|
||||
"Value": { "Ref": "AvailabilityZone" },
|
||||
"Export": { "Name": {"Fn::Sub": "${AWS::StackName}-AvailabilityZone" }}
|
||||
},
|
||||
"BastionInstanceId": {
|
||||
"Description": "Bastion host instance ID",
|
||||
"Value": { "Ref": "BastionInstance" },
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
region: us-west-2
|
||||
availability_zone: us-west-2a
|
||||
keys: "alm-keys"
|
||||
ami_id: ami-2709bd47
|
||||
state: present
|
||||
|
|
Загрузка…
Ссылка в новой задаче