Skip to content

Commit

Permalink
Use the bucketName instead of the bucketArn from the create bucket
Browse files Browse the repository at this point in the history
The ARN was resulting in validation errors but the name is what we used previously.

Closes #23
  • Loading branch information
bmiller08 committed Oct 13, 2021
1 parent 725c3cf commit f36691a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export class Certbot extends cdk.Construct {
environment: {
LETSENCRYPT_DOMAINS: props.letsencryptDomains,
LETSENCRYPT_EMAIL: props.letsencryptEmail,
CERTIFICATE_BUCKET: props.bucket.bucketArn,
CERTIFICATE_BUCKET: props.bucket.bucketName,
OBJECT_PREFIX: (props.objectPrefix === undefined) ? '' : props.objectPrefix,
REISSUE_DAYS: (props.reIssueDays === undefined) ? '30' : String(props.reIssueDays),
PREFERRED_CHAIN: (props.preferredChain === undefined) ? 'None' : props.preferredChain,
Expand Down

0 comments on commit f36691a

Please sign in to comment.