You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment to production is successful, but I'm having some issues passing a parameter value from AWS SSM to a env file, it's undefined no matter what I do. Thus, my useAsyncData is returning an error.
Here are my codes for the amplify.yml file as well as the runtimeConfig object on my nuxt.config.ts file. Only config.githubSecret is undefined, the public githubBaseUrl is working.
Is AWS SSM not supported for deploying to production? Must I set the environment variables under the build settings on the AWS Amplify console?
nitro: {preset: "aws-amplify"},runtimeConfig: {/// Tried with githubSecret: "", not working as wellgithubSecret: process.env.NUXT_GITHUB_SECRET,public: {githubBaseUrl: "https://api.github.com",},},
Environment
Production
Reproduction
No reproduction is required.
Describe the bug
Deployment to production is successful, but I'm having some issues passing a parameter value from AWS SSM to a env file, it's
undefined
no matter what I do. Thus, my useAsyncData is returning an error.Here are my codes for the
amplify.yml
file as well as the runtimeConfig object on mynuxt.config.ts
file. Onlyconfig.githubSecret
is undefined, the publicgithubBaseUrl
is working.Is AWS SSM not supported for deploying to production? Must I set the environment variables under the build settings on the AWS Amplify console?
Thanks in advance.
amplify.yml
nuxt.config.ts
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: