Skip to main content
Version: 2.23 (prerelease)

terraform_var_files


Terraform vars files

Backend: pants.backend.experimental.terraform


description

str | None
default: None

A human-readable description of the target.

Use pants list --documented :: to see all targets with descriptions.

sources

Iterable[str] | None
default: ('*.tfvars',)

A list of files and globs that belong to this target.

Paths are relative to the BUILD file's directory. You can ignore files/globs by prefixing them with !.

Example: sources=['common.tfvars', 'prod.tfvars']

tags

Iterable[str] | None
default: None

Arbitrary strings to describe a target.

For example, you may tag some test targets with 'integration_test' so that you could run pants --tag='integration_test' test :: to only run on targets with that tag.