Skip to main content

get-target-config

Source code

GitHub Actions to get target configuration

Example

envs:
TFACTION_TARGET: foo
TFACTION_IS_APPLY: 'false'
steps:
- uses: suzuki-shunsuke/tfaction/get-target-config@main
id: target-config

Inputs

Nothing.

Outputs

namedescription
working_directoryWorking Directory
aws_assume_role_arnAWS Assume Role ARN
aws_regionAWS Region
gcp_service_accountGoogle Cloud Platform Service Account for GCP Workload Identity Federation
gcp_workload_identity_providerGoogle Cloud Platform Identity Provider for GCP Workload Identity Federation
s3_bucket_name_plan_fileS3 Bucket Name for Terraform Plan files
s3_bucket_name_tfmigrate_historyS3 Bucket Name for tfmigrate History files
template_dirworking directory template directory path