Myself and @46bit took #116 and applied it to GDS's fork alphagov/paas-cdn-broker but @46bit found that Update was broken for the same reason as Create pre-fix.
This PR is the code-change in #116, plus an additional commit which uses the old domains when updating Cloudfront in Update, and relies on deployCertificate to do the actual certificate and CNAME changes.
Please let us know if we need to sign a CLA, alternatively feel free to ignore/close this PR.
Myself and @46bit took #116 and applied it to GDS's fork alphagov/paas-cdn-broker but @46bit found that
Update
was broken for the same reason asCreate
pre-fix.This PR is the code-change in #116, plus an additional commit which uses the old domains when updating Cloudfront in
Update
, and relies ondeployCertificate
to do the actual certificate and CNAME changes.Please let us know if we need to sign a CLA, alternatively feel free to ignore/close this PR.
Context