tfaction-root.yaml

Type: object

tfaction-root.yaml

Type: array of object

the list of target group configuration

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object

target group configuration

Type: string

the prefix of the working directory path

Type: string

the prefix of the target

Type: string

AWS Assume Role ARN

Type: string

AWS Region. This is used for AWS OIDC Authentication, Getting Secrets from AWS Secrets Manager, and so on

Type: array of object

list of AWS Secrets Manager's secret and exported environment variables

No Additional Items

Each item of this array must be:

Type: object

target group configuration

Type: array of object

exported environment variables

No Additional Items

Each item of this array must be:

Type: object

exported environment variable

Type: object

Type: boolean Default: "false"

If true, drift detection is enabled in the target group

Type: object

environment variables

Type: string

GCP Service Account

Type: string

GCP Workload Identity Provider

Type: string

List of OAuth 2.0 access scopes to be included in the generated token for authenticating to Google Cloud

Type: string

GCS Bucket name to store tfmigrate History files

Type: string Default: "-platform=windows_amd64 -platform=linux_amd64 -platform=darwin_amd64"

terraform providers lock command's option

Type: object

The type of runner that the job will run on

Type: array of string
No Additional Items

Each item of this array must be:

Type: string

S3 Bucket name to store tfmigrate History files

Type: array of object

list of exported GitHub Secrets

No Additional Items

Each item of this array must be:

Type: object

exported GitHub Secret

Type: string Default: "the value of 'secret_name'"

exported environment variable

Type: string Default: "the value of 'env_name'"

exported GitHub Secret name

Type: string

the template directory path to scaffold a working directory

Type: object

configuration which is used in the job for 'terraform plan'

Type: string

AWS Region. This is used for AWS OIDC Authentication, Getting Secrets from AWS Secrets Manager, and so on

Same definition as aws_region

Type: string

List of OAuth 2.0 access scopes to be included in the generated token for authenticating to Google Cloud

Same definition as gcp_access_token_scopes

Type: array of object

list of exported GitHub Secrets

Same definition as secrets

Type: array of object

list of AWS Secrets Manager's secret and exported environment variables

Same definition as aws_secrets_manager

Type: object

The type of runner that the job will run on

Same definition as runs_on

Type: object

configuration which is used in the job for 'terraform apply'

Same definition as terraform_plan_config

Type: object

configuration which is used in the job for 'tfmigrate plan'

Same definition as terraform_plan_config

Type: object

configuration which is used in the job for 'tfmigrate apply'

Same definition as terraform_plan_config

Type: object

configuration about aqua

Type: object

Type: boolean Default: "false"

If true, update-checksum is enabled.

Type: boolean Default: "false"

update-checksum-action's prune

Type: boolean Default: "false"

update-checksum-action's skip_push

Type: string Default: "current directory"

tfaction searches working directories in this directory

Type: string Default: "policy"

Conftest policy directory

Type: boolean Default: false

If this is true, tfaction creates pull requests as draft

Type: object

Drift Detection

Type: boolean Default: "true"

If true, drift detection is enabled in all working directories

Type: string Default: "Repository where GitHub Actions is run"

Repository name of GitHub Issues

Type: string Default: "Repository where GitHub Actions is run"

Repository owner of GitHub Issues

Type: integer Default: 168

The scheduled workflow picks out working directories whose issues were updated before minimum_detection_interval hours

Type: integer Default: 1

The number of issues that scheduled job handles

Type: object

environment variables

Same definition as envs

Type: object

Pull Request label prefixes

Type: string Default: "target:"

Pull Request label prefix to specify the target

Type: string Default: "tfmigrate:"

Pull Request label prefix to specify the tfmigrate target

Type: string Default: "skip:"

Pull Request label prefix to skip terraform plan and apply. This is used to migrate states across states with tfmigrate

Type: string Default: "-platform=windows_amd64 -platform=linux_amd64 -platform=darwin_amd64"

terraform providers lock command's option

Same definition as providers_lock_opts

Type: string Default: "renovate[bot]"

Renovate App login

Type: array of string

This attribute is ignored if skip_terraform_by_renovate is false. If any one of labels in renovate_terraform_labels is set to the pull request, tfaction would run terraform plan and terraform apply. Detail

No Additional Items

Each item of this array must be:

Type: string

Pull Request label name

Type: object

configuration about scaffold-working-directory

Type: boolean Default: "false"

If true, creating aqua.yaml and adding packages is skipped

Type: boolean Default: false

If this is true, tfaction skips creating pull requests. Detail

Type: boolean Default: false

If this is true, terraform plan and terraform apply are skipped in case of pull request by Renovate. Detail

Type: object

Type: boolean Default: "true"

If true, test action runs tflint

Type: object

Type: boolean Default: "true"

If true, test action runs tfsec

Type: object

Type: boolean Default: "false"

If true, test action runs Trivy

Type: string Default: "tfaction.yaml"

working directory configuration file name