selacloud/Terraform Ephemeral Environment Action
Create and destroy terraform infrastructure
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| terraform-command | apply / destroy / plan, etc. | yes | apply |
| ephemeral-environment-name | name of ephemeral environment. Should be unique in bakcend-bucket s3 path. Used as s3 key for ephemeral environment updates | yes | development |
| git-public-key | Public key to use to access git repository | yes | — |
| git-private-key | Private key to use to access git repository | yes | — |
| git-uri | Location of git repository to clone | yes | — |
| terraform-working-directory | Location of terraform to execute within remote repository | no | . |
| additional-init-args | This action will call terraform init with provided init args. Should be used to specify a backend | yes | -backend-config=bucket=${BACKEND_BUCKET} \ -backend-config=dynamodb_table=${BACKEND_TABLE} \ -backend-config=key=ephemeral-environments/${EPHEMERAL_ENVIRONMENT_NAME}.tfstate |
| additional-apply-args | This action will call terraform init with provided init args. Should be used to specify a backend | yes | -var=task_definition='${TASK_DEFINITION}' \ -var=desired_count=${DESIRED_COUNT} \ -var=domain_name=${DOMAIN_NAME} \ -var=service_port=${SERVICE_PORT} \ |
Outputs
| name | description |
|---|---|
| time | The time we greeted you |