Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 3.81 KB

ci-plan-infra.md

File metadata and controls

62 lines (45 loc) · 3.81 KB

Plan Infra

ci-plan-infra.yml

Run Terraform plan against the specified environments.

graph TB
    START((Start)) --> checkout(Checkout)
    checkout --> monitoring-credentials(Configure AWS Credentials for Monitoring account)
    monitoring-credentials --> grafana-get-key(Create Grafana key)
    grafana-get-key --> setup-terraform(Setup Terraform)
    setup-terraform --> config_tf_vars(Configure Terraform Variables)
    config_tf_vars --> plan(Plan)
    plan --> grafana-delete-key(Delete Grafana key)
    grafana-delete-key --> END((End))
Loading

Inputs

name type description default
version string The image version to use in the ECS task definition. latest
stage string The environment to plan against. This is used to control concurrency and is the name of the GitHub deployment environment. The wl prefix is added to it to select the Terraform workspace. --
stage-url string The URL of the environment, used for the GitHub deployment environment. --
grafana-workspace-name string The name of the Grafana workspace for the monitoring deployment ${{ vars.GRAFANA_WORKSPACE_NAME }}
tf-directory string The directory containing the Terraform files ${{ vars.TF_DIRECTORY }}
tf-variables string The values of the dynamic Terraform variables ``
aws-region string The AWS region to deploy to ${{ vars.AWS_REGION }}
aws-role-monitoring-arn string The ARN of the AWS role to assume for the monitoring deployment ${{ vars.AWS_ROLE_MONITORING }}
run-label string The run label to use for the actions ubuntu-latest

Outputs

--

Permissions

Permission Level
contents read
id-token write

Repository Variables

  • AWS_REGION
  • AWS_ROLE_MONITORING
  • GRAFANA_WORKSPACE_NAME
  • RUN_GROUP
  • TF_DIRECTORY

Repository Secrets

  • TF_API_TOKEN

Dependencies

--

Used By