Skip to content

Commit

Permalink
change action verions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor committed Jun 7, 2024
1 parent 360a019 commit 4ac09f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tf-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
TerraformApply:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: aws-actions/configure-aws-credentials@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::795062932265:role/GitHubActionsRole
role-session-name: GitHub_to_AWS_via_FederatedOIDC

- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.8.4
terraform_version: 1.8.0
terraform_wrapper: false

- run: |
Expand Down
9 changes: 4 additions & 5 deletions global/ghAction/tf-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,21 @@ jobs:
TerraformApply:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: aws-actions/configure-aws-credentials@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::795062932265:role/GitHubActionsRole
role-session-name: GitHub_to_AWS_via_FederatedOIDC

- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.8.4
terraform_version: 1.8.0
terraform_wrapper: false

- run: |
cd stage/services/mysql
terraform init
terraform apply -auto-approve

0 comments on commit 4ac09f4

Please sign in to comment.