feat: Add trusted_role_arns to eks-service-account-iam-role #160
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Terraform CI | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| check_format_and_validate: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: hashicorp/terraform:1.5.7 | |
| env: | |
| TF_PLUGIN_CACHE_DIR: /github/home/.terraform.d/plugin-cache | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Create Plugin Cache Dir | |
| run: mkdir -p $TF_PLUGIN_CACHE_DIR | |
| - name: Check format | |
| run: terraform fmt -diff=true -check=true | |
| - name: Validate | |
| run: ./validate.sh |