When deploying a nextjs app, I was seeing this confusing error:
operation error SSM: GetParameter, https response error StatusCode: 400, RequestID: 756b6bbf1b24, api error ValidationException: Parameter name: can't be prefixed with \"ssm\" (case-insensitive). If formed as a path, it can consist of sub-paths divided by slash symbol; each sub-path can be formed as a mix of letters, numbers and the following 3 symbols .-_
Eventually figured it it's because my app name had spaces in it. I was thinking of it as a label, but it's used as the prefix for all resources, so you want something like: name: "my-app-name", NOT name: "My App Name".
Would be nice to get some better error-handling / validation on this.
When deploying a nextjs app, I was seeing this confusing error:
Eventually figured it it's because my app name had spaces in it. I was thinking of it as a label, but it's used as the prefix for all resources, so you want something like:
name: "my-app-name"
, NOTname: "My App Name"
.Would be nice to get some better error-handling / validation on this.