aws-architect 6.6.17 → 6.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,9 +5,9 @@
5
5
  "Type": "String",
6
6
  "Description": "The full DNS name for the site."
7
7
  },
8
- "hostedName": {
8
+ "hostedZoneId": {
9
9
  "Type": "String",
10
- "Description": "The name of the hostedZone"
10
+ "Description": "The hostedZone ID"
11
11
  }
12
12
  },
13
13
 
@@ -66,7 +66,17 @@
66
66
  "SubjectAlternativeNames": [
67
67
  { "Fn::Sub": "*.${dnsName}" }
68
68
  ],
69
- "ValidationMethod": "DNS"
69
+ "ValidationMethod": "DNS",
70
+ "DomainValidationOptions": [
71
+ {
72
+ "DomainName": { "Fn::Sub": "${dnsName}" },
73
+ "HostedZoneId": { "Ref": "hostedZoneId" }
74
+ },
75
+ {
76
+ "DomainName": { "Fn::Sub": "*.${dnsName}" },
77
+ "HostedZoneId": { "Ref": "hostedZoneId" }
78
+ }
79
+ ]
70
80
  }
71
81
  },
72
82
 
@@ -148,7 +158,7 @@
148
158
  "DNSName": { "Fn::GetAtt" : [ "CloudFrontDistribution", "DomainName" ] },
149
159
  "HostedZoneId": "Z2FDTNDATAQYW2"
150
160
  },
151
- "HostedZoneName": { "Fn::Sub": "${hostedName}." },
161
+ "HostedZoneId": { "Ref": "hostedZoneId" },
152
162
  "Name": { "Fn::Sub": "tst.${dnsName}." },
153
163
  "Type": "A"
154
164
  }
@@ -161,7 +171,7 @@
161
171
  "DNSName": { "Fn::GetAtt" : [ "CloudFrontDistribution", "DomainName" ] },
162
172
  "HostedZoneId": "Z2FDTNDATAQYW2"
163
173
  },
164
- "HostedZoneName": { "Fn::Sub": "${hostedName}." },
174
+ "HostedZoneId": { "Ref": "hostedZoneId" },
165
175
  "Name": { "Fn::Sub": "${dnsName}." },
166
176
  "Type": "A"
167
177
  }
@@ -174,7 +184,7 @@
174
184
  "DNSName": { "Fn::GetAtt" : [ "CloudFrontDistribution", "DomainName" ] },
175
185
  "HostedZoneId": "Z2FDTNDATAQYW2"
176
186
  },
177
- "HostedZoneName": { "Fn::Sub": "${hostedName}." },
187
+ "HostedZoneId": { "Ref": "hostedZoneId" },
178
188
  "Name": { "Fn::Sub": "*.${dnsName}." },
179
189
  "Type": "A"
180
190
  }
@@ -120,7 +120,7 @@ commander
120
120
  let parameters = {
121
121
  serviceName: 'example-service', // must result in a valid Lambda name; for example cannot contain "."
122
122
  dnsName: packageMetadata.name.toLowerCase(),
123
- hostedName: 'toplevel.domain.io',
123
+ hostedZoneId: 'ZHostedZoneID-Route53',
124
124
  useRoot: 'true'
125
125
  };
126
126
  await awsArchitect.deployTemplate(stackTemplate, stackConfiguration, parameters);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.6.17",
3
+ "version": "6.6.23",
4
4
  "description": "AWS Architect is a node based tool to configure and deploy AWS-based microservices.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",