Deploy the infrastructure to the specified environments.
graph TB
START((Start))
checkout(Checkout)
aws-credentials-monitoring(Configure AWS Credentials for Monitoring account)
grafana-key(Create Grafana key)
setup-tf(Setup Terraform)
tf-vars(Configure Terraform Variables)
tf-apply(Apply Terraform)
grafana-delete-key{{Delete Grafana key}}
END((End))
START --> checkout
checkout --> aws-credentials-monitoring
aws-credentials-monitoring --> grafana-key
grafana-key --> setup-tf
grafana-key -.-> grafana-delete-key
setup-tf --> tf-vars
tf-vars --> tf-apply
tf-apply --> grafana-delete-key
grafana-delete-key --> END
name | type | description | default |
---|---|---|---|
version |
string |
The ECR tag to deploy | -- |
stage |
string |
The environment to deploy to | -- |
stage-url |
string |
The URL of the 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 do manage the monitoring stack | ${{ vars.AWS_ROLE_MONITORING }} |
run-label |
string |
The run label to use for the actions | ubuntu-latest |
--
Permission | Level |
---|---|
contents |
read |
id-token |
write |
AWS_REGION
(only ifinputs.aws-region
is not set)AWS_ROLE_MONITORING
(only ifinputs.aws-role-monitoring-arn
is not set)GRAFANA_WORKSPACE_NAME
(only ifinputs.grafana-workspace-name
is not set)TF_DIRECTORY
(only ifinputs.tf-directory
is not set)
TF_API_TOKEN
--