HTTPS: Add an HTTPS Endpoint
Objective
- Migrate our endpoint from HTTP to HTTPS.
Steps
- Add an HTTPS endpoint.
Adding the HTTPS endpoint
We will now update our deploy-infra.sh script to retrieve the certificate ARN. This should go at the top of the script, and depends on the DOMAIN environment variable.
Line #3: Newly added environment variable holding our certificate.
We then have to pass the certificate ARN as a parameter to main.yml.
Line #13: The certificate ARN.
We also have to add this as a parameter in the main.yml template.
Then, we also have to pass the ARN to our nested stacks by adding a parameter to the ...