quidproquo-deploy-awscdk 0.0.151 → 0.0.153
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.
- package/lib/commonjs/constructs/basic/CloudflareDnsRecord.js +2 -0
- package/lib/commonjs/constructs/feature/webserver/webEntry/QpqWebserverWebEntryConstruct.js +1 -0
- package/package.json +1 -1
- package/src/constructs/basic/CloudflareDnsRecord.ts +3 -0
- package/src/constructs/feature/webserver/webEntry/QpqWebserverWebEntryConstruct.ts +2 -0
|
@@ -41,6 +41,8 @@ class CloudflareDnsRecord extends QpqConstructBlock_1.QpqConstructBlock {
|
|
|
41
41
|
executorName: 'executeCustomResourceCloudflareDns',
|
|
42
42
|
qpqConfig: props.qpqConfig,
|
|
43
43
|
awsAccountId: props.awsAccountId,
|
|
44
|
+
// 15 min timeout
|
|
45
|
+
timeoutInSeconds: 15 * 60,
|
|
44
46
|
environment: {
|
|
45
47
|
certificateArn: props.certificateArn || '',
|
|
46
48
|
certificateDomain: props.certificateDomain || '',
|
|
@@ -131,6 +131,7 @@ class QpqWebserverWebEntryConstruct extends QpqConstructBlock_1.QpqConstructBloc
|
|
|
131
131
|
const distribution = new aws_cdk_lib_1.aws_cloudfront.Distribution(this, 'MyDistribution', {
|
|
132
132
|
defaultBehavior: {
|
|
133
133
|
origin: distributionOrigin,
|
|
134
|
+
originRequestPolicy: aws_cdk_lib_1.aws_cloudfront.OriginRequestPolicy.CORS_S3_ORIGIN,
|
|
134
135
|
cachePolicy: cachePolicy,
|
|
135
136
|
viewerProtocolPolicy: aws_cdk_lib_1.aws_cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
|
|
136
137
|
compress: props.webEntryConfig.compressFiles,
|
package/package.json
CHANGED
|
@@ -33,6 +33,9 @@ export class CloudflareDnsRecord extends QpqConstructBlock {
|
|
|
33
33
|
|
|
34
34
|
awsAccountId: props.awsAccountId,
|
|
35
35
|
|
|
36
|
+
// 15 min timeout
|
|
37
|
+
timeoutInSeconds: 15 * 60,
|
|
38
|
+
|
|
36
39
|
environment: {
|
|
37
40
|
certificateArn: props.certificateArn || '',
|
|
38
41
|
certificateDomain: props.certificateDomain || '',
|
|
@@ -162,6 +162,8 @@ export class QpqWebserverWebEntryConstruct extends QpqConstructBlock {
|
|
|
162
162
|
const distribution = new aws_cloudfront.Distribution(this, 'MyDistribution', {
|
|
163
163
|
defaultBehavior: {
|
|
164
164
|
origin: distributionOrigin,
|
|
165
|
+
originRequestPolicy: aws_cloudfront.OriginRequestPolicy.CORS_S3_ORIGIN,
|
|
166
|
+
|
|
165
167
|
cachePolicy: cachePolicy,
|
|
166
168
|
viewerProtocolPolicy: aws_cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
|
|
167
169
|
compress: props.webEntryConfig.compressFiles,
|