Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DCMAW-11018] Use new certificates #336

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

kikidawson-gds
Copy link
Contributor

@kikidawson-gds kikidawson-gds commented Jan 14, 2025

DCMAW-11018

What changed

Updates regional certs to point to either wildcard cert if dev, or proxy/base cert

Why did it change

Current set up is fiddly to add new domains.

https://github.com/govuk-one-login/mobile-id-check-readid-mock/pull/15
https://github.com/govuk-one-login/mobile-id-check-async-infra/pull/13

See async infra PR for testing screenshots

Checklists

  • There is a ticket raised for this PR that is present in the branch name
  • No PII data logged. See guidance here
  • Demo to a BA, TA, and the team.
  • Update README with any new instructions or tasks

@kikidawson-gds kikidawson-gds requested review from a team as code owners January 14, 2025 19:21
@@ -224,6 +224,10 @@ Conditions:
- !Ref Environment
- build

useWildcardCertificate: !Equals
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also check that ${AWS::StackName} != 'mob-async-backend' so that the auto dev deployment uses the BaseCertificate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooo okay will look

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that if the stack name isn't mob-async-backend then it'll add a wildcard. Is that a bit open?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if it is also dev!

!And
  - !Equals [!Ref Environment, "dev]
  - !Not [!Equals [!Ref AWS::StackName, "mob-async-backend"]]

or something

Copy link

Quality Gate Passed Quality Gate passed for 'mobile-id-check-async-sts-mock'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants