Skip to content

Added iam role and vpc logs #8

Added iam role and vpc logs

Added iam role and vpc logs #8

Workflow file for this run

name: AWS Secuirty Challenge CI/CD
on:
push:
branches:
- main
paths:
- main.tf
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2.0.0
with:
terraform_version: 1.3.0
- name: Terraform Init,Plan and Apply
run: |
terraform init
terraform plan
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}
TF_TOKEN_app_terraform_io: ${{ secrets.TERRAFORM_TOKEN }}