Results 74 comments of Aaron Roydhouse

I have a buildspec YAML file that I just what to inline into the CDK .NET generated stacks at synth time. What I am looking for but not finding in...

Thanks @skinny85, that would be a workaround, but I don't think that - ideally - CDK users should have to do all that? The canonical type of a [CodeBuild buildspec...

Wow does SAM make setting environment variables complicated! @jsonmaur's workaround seems the best, using the ([undocumented in sam docs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-deploy.html)) `--parameter-overrides` argument to `sam deploy` using the `Name1=Value1 Name2=Value2` syntax. `sam...

@LEscobar-Driver capital ‘V’ in `Variables`

I too expected SAM would have a consistent way to handle env vars between running locally and deploying. Like @jsonmaur I expected `--env-vars` to work for deployment too. Right now...

Thanks for the background. Everyone here seems to agree (!) that `--parameter-overrides` on `sam deploy` to set environment variables in the template via parameters is the current best way to...

@johlju I tool the `SqlScriptQuery` approach as follows and something similar could become a composite. `SqlDisableSa` should use `SUSER_NAME(0x01)` so the two steps work in either order. I wasn't sure...

I've noted this new error too. The error does say `err="mkdir /var/lib/kubelet: read-only file system"` so I assume it is the container filesystem that is being attempted to be written...

@coultn I think exponential back-off with no maximum restarts, usual k8s approach. The back-off would increase until the period is long enough that continuous restarts pose negligible impact on ECS/Fargate,...

@morj, suggest: 1. Make your main container just a monitor for the other sidecar ‘non-essential’ containers. If any sidecar container goes down, bail, and ECS will restart the whole task....