Skip to content
Discussion options

You must be logged in to vote

Hi @TurboNHS, I think you are running into a quirk with Terraform's -backend-config flag that backend_config uses. Unlike in a backend config file, you have to specify key=value without any quotes.

i.e.

backend_config: bucket=my-prefix-${{ env.ENVIRONMENT }}-state

Can you give that a try? env:/ is a default prefix when working with workspaces - I think terraform is just confused here and giving an unhelpful error.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TurboNHS
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants