Skip to content

more test workflaow #10

more test workflaow

more test workflaow #10

name: Environment Main - Plan
on:
pull_request: {}
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
envtest:
name: Environment Main - Plan
runs-on: ubuntu-latest
environment: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
- name: Configure AWS Access
<<<<<<< HEAD

Check failure on line 22 in .github/workflows/environment-main-plan.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/environment-main-plan.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838
=======
uses: aws-actions/configure-aws-credentials@39228ca2bffc0bfc8f7761ce893f5b80e7eaaf8f
>>>>>>> origin/main
with:
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/GitHubAction-Wildsea
role-session-name: GitHubTest
aws-region: ${{ vars.AWS_REGION }}
- name: terraform plan
<<<<<<< HEAD
uses: dflook/terraform-plan@d9df4f6c2484e709ba7ffaa16c98a6906f4760cd
=======
uses: dflook/terraform-plan@b0877a1bf56160160ab482f4aff8a12fff35fe06
>>>>>>> origin/main
with:
path: terraform/environment/github
variables: |
aws_account="${{ vars.AWS_ACCOUNT }}"
aws_region="${{ vars.AWS_REGION }}"
state_bucket="${{ vars.STATE_BUCKET }}"
environment="${{ vars.ENVIRONMENT }}"
backend_config:
bucket=${{ vars.STATE_BUCKET }}
key=${{ vars.ENVIRONMENT }}/terraform.tfstate
region=${{ vars.AWS_REGION }}