Skip to content

Modify relationship between CompanyProfile and CompanyProfileMapping #88

Modify relationship between CompanyProfile and CompanyProfileMapping

Modify relationship between CompanyProfile and CompanyProfileMapping #88

Workflow file for this run

name: 'Deploy PPN with Terraform'
on:
push:
branches: [ "master" ]
pull_request:
permissions:
contents: read
jobs:
deploy_terraform:
name: Deploy with terraform
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v1
- name: Set up AWS credentials
run: |
mkdir -p ~/.aws
touch ~/.aws/credentials
echo "[default]
aws_access_key_id = ${AWS_ACCESS_KEY_ID}
aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" > ~/.aws/credentials
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DEPLOY_AWS_TERRAFORM_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEPLOY_AWS_TERRAFORM_SECRET_ACCESS_KEY }}
- name: "intialize terraform"
run: terraform init
- name: "validate terraform"
run: terraform validate -no-color
- name: "Run terraform apply"
run: terraform apply -auto-approve -no-color