I have a problem trying to use env variables in my severless.yml
I have an env.yml with the env var called BUCKET_UPLOADS
which sits under dev
In the serveless.yml I am trying to use this variable like so:
"arn:aws:s3:::${process.env.BUCKET_UPLOADS}/*"
But when trying to deploy I get:
Bucket name should not contain uppercase characters.
There are no capitols in the variable value so I think it's taking the above literally but as far as I can see it should be using the variable instead given the markup ${...}
Any help would be greatly appreciated!
Thanks
question from:
https://stackoverflow.com/questions/66064212/problem-trying-to-use-env-variables-in-my-severless-yml 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…