-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nc] test terraform-actions plan workflow
Signed-off-by: Nic Cheneweth <nchenewe@thoughtworks.com>
- Loading branch information
1 parent
f93c6cb
commit 4e28247
Showing
3 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# yamllint disable rule:line-length | ||
--- | ||
name: setup environment | ||
|
||
description: load values from 1password vault | ||
|
||
inputs: | ||
|
||
instance: | ||
description: input value that can be used to control which actions are run | ||
required: false | ||
default: "" | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
|
||
- name: run step if instance matches | ||
if: ${{ inputs.instance != 'prod' }} | ||
uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0 | ||
with: | ||
export-env: true | ||
env: | ||
TFE_TOKEN: op://empc-lab/svc-terraform-cloud/team-api-token | ||
GREN_GITHUB_TOKEN: op://empc-lab/svc-github/access-token | ||
SLACK_BOT_TOKEN: op://empc-lab/svc-slack/post-bot-token | ||
AWS_ACCESS_KEY_ID: op://empc-lab/aws-dps-2/PSKProdServiceAccount-aws-access-key-id | ||
AWS_SECRET_ACCESS_KEY: op://empc-lab/aws-dps-2/PSKProdServiceAccount-aws-secret-access-key |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# psk-aws-platform-eks-base | ||
|
||
# psk-aws-platform-eks-base |