mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-18 18:56:26 +00:00
changing to saml auth
This commit is contained in:
parent
a57a4512a9
commit
b1232a9e46
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -7,20 +7,24 @@ env:
|
||||
tf_version: 'latest'
|
||||
tf_working_dir: '.'
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
jobs:
|
||||
terraform:
|
||||
environment: main
|
||||
name: 'Terraform'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-region: ap-southeast-2
|
||||
role-to-assume: arn:aws:iam::143841941773:role/github
|
||||
role-session-name: Terraform
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@master
|
||||
- name: Terraform fmt
|
||||
id: fmt
|
||||
run: terraform fmt -check
|
||||
run: terraform fmt
|
||||
continue-on-error: true
|
||||
- uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
|
8
.github/workflows/pr.yml
vendored
8
.github/workflows/pr.yml
vendored
@ -13,12 +13,18 @@ jobs:
|
||||
name: 'Terraform'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-region: ap-southeast-2
|
||||
role-to-assume: arn:aws:iam::143841941773:role/github
|
||||
role-session-name: Terraform
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@master
|
||||
- name: Terraform fmt
|
||||
id: fmt
|
||||
run: terraform fmt -check
|
||||
run: terraform fmt
|
||||
continue-on-error: true
|
||||
- uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user