Skip to content

Commit

Permalink
ci-force-run add fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
mojotalantikite committed Jan 16, 2025
1 parent 1ed7512 commit c8f29fb
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions infrastructure/cdk/src/stacks/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,17 @@ export class UiStack extends cdk.Stack {
)

// Get SSM Parameters
const cloudfrontDomainName =
ssm.StringParameter.valueForStringParameter(
this,
`/configuration/${props.stage}/cloudfront/domain_name`
)
const cloudfrontCertificateArn =
ssm.StringParameter.valueForStringParameter(
this,
`/configuration/${props.stage}/cloudfront/certificate_arn`
)
const cloudfrontDomainName = ssm.StringParameter.valueFromLookup(
this,
`/configuration/${props.stage}/cloudfront/domain_name`,
''
)

const cloudfrontCertificateArn = ssm.StringParameter.valueFromLookup(
this,
`/configuration/${props.stage}/cloudfront/certificate_arn`,
''
)

// Create custom domain condition
const customDomainCondition = new cdk.CfnCondition(
Expand Down

0 comments on commit c8f29fb

Please sign in to comment.