Skip to content

Commit

Permalink
Merge pull request #24 from RenovoSolutions/23-parameter-validation-f…
Browse files Browse the repository at this point in the history
…ails-for-bucket

Use the `bucketName` instead of the `bucketArn` from the create bucket
  • Loading branch information
bmiller08 authored Oct 13, 2021
2 parents 725c3cf + f36691a commit 46eb8fe
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 46eb8fe

Please sign in to comment.