GitHub Actions and mapping for reusable workflow

Hi! I’m trying to create a file inside my repo that will utilize my reusable workflow. But I’m getting the error saying bad mapping, even thought I copied from GitHub itself and modied a bit.

name: Terraform test reusable


uses: tikenek/terraform-adding-users/.github/workflows/terraform-template-apply.yml@v1
env_aws_access_key_id: ${{secrets.AWS_ACCESS_KEY_ID}}
env_aws_secret_access_key: ${{secrets.AWS_SECRET_ACCESS_KEY}}
env_github_token: ${{secrets.GITHUB_TOKEN}}

Welcome to the GitHub community, @tikenek! We’re happy you’re here. You are more likely to get a useful response if you are posting your question(s) in the applicable category. I’ve gone ahead and moved it for you. Good luck!

When posting YAML and code in general please always use a Markdown code block so the code stays readable. This is particularly important for YAML, Python, and other kinds of code where the indentation is part of the syntax.

I hope someone can see what’s wrong after you update your post!