Feat/enable dns#179
Conversation
Prevent local deployments to 'dev' and 'prod' environments by adding an aws:guard task that checks for CI environment variables. This ensures production environments can only be deployed through CI/CD pipelines. Changes: - Add aws:guard task that blocks protected env deployments locally - Update aws:deploy:local and aws:deploy:release to depend on aws:guard - Update env:setup to warn about protected environments and require input - Add comprehensive documentation for the protection mechanism Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| [tasks."env:setup"] | ||
| description = "Create .env file with required configuration" | ||
| hide = true | ||
| raw = true |
There was a problem hiding this comment.
@scottgerring without the raw tag my terminal crapped out because it couldn't accept user input. Adding the raw flag was the fix.
There was a problem hiding this comment.
crapped out when - on the prompting for .env population? I've never seen this and suspect you've got something munted in your TERM or so but regardless .... what else does raw do? is this going to affect any other behaviour?
|
Can't find all comments anymore in the GH UI, but one outstanding question I have remaining (I think) is - what happens if the user doesn't have access to an existing stickerlandia.dev domain? |
@scottgerring they'll get a Cloudfront distribution URL |
Enabling support for 'proper' DNS names.
Testing
Ran
cdk difflocally for all stacks to check CloudFormation changes. All diffs changing URL from current long Cloudfront Distribution URL tohttps://dev.stickerlandia.dev/api/{X}.