Last cloudfront issue
Finally the marcoaguzzi.it domain is actually responding without pointing to dev.marcoaguzzi.cloudns.ph. The last issue preventing the production cloudfront distribution from working was:
- The lambda@edge function that was linked to development distribution was at version 5, while its cloudformation output value was pointing to version 1
- The cloudformation stack deployed with production distribution read the output value and pointed to version 1, which wasnβt quite ready yet.
- Changing the lambda@edge link in production distribution from version 1 to version 5, ending the arn for the lambda with β:5β instead of β:1β, did the trick.
Fire up staging pipeline
Now that both domains have their own distribution responding, it was time to facilitate testing.