Optional
Readonly
accessAWS Access Key. Sourced from the standard credentials pipeline, if unset.
Readonly
backendA constant describing the name of the Terraform backend, used as the discriminant for the union of backend configurations.
Readonly
bucketThe name of the S3 bucket.
Optional
Readonly
endpointA custom endpoint for the S3 API. Also sourced from AWS_S3_ENDPOINT
in the environment, if unset.
Optional
Readonly
externalThe external ID to use when assuming the IAM role.
Optional
Readonly
forceForce s3 to use path style api.
Optional
Readonly
iamA custom endpoint for the IAM API. Sourced from AWS_IAM_ENDPOINT
, if unset.
Readonly
keyThe path to the state file inside the bucket. When using a non-default workspace,
the state path will be /workspace_key_prefix/workspace_name/key
.
Optional
Readonly
profileThe AWS profile name as set in the shared credentials file.
Optional
Readonly
regionThe region of the S3 bucket. Also sourced from AWS_DEFAULT_REGION
in the environment, if unset.
Optional
Readonly
roleThe ARN of an IAM Role to be assumed in order to read the state from S3.
Optional
Readonly
secretAWS Secret Access Key. Sourced from the standard credentials pipeline, if unset.
Optional
Readonly
sessionThe session name to use when assuming the IAM role.
Optional
Readonly
sharedThe path to the shared credentials file. If this is not set and a profile is
specified, ~/.aws/credentials
will be used by default.
Optional
Readonly
skipSkip the credentials validation via STS API.
Optional
Readonly
skipSkip the AWS Metadata API check.
Optional
Readonly
skipSkip static validation of region name.
Optional
Readonly
stsA custom endpoint for the STS API. Sourced from AWS_STS_ENDPOINT
, if unset.
Optional
Readonly
tokenAn MFA token. Sourced from the AWS_SESSION_TOKEN
in the environment variable if needed and unset.
Optional
Readonly
workspaceThe Terraform workspace from which to read state.
Optional
Readonly
workspaceThe prefix applied to the state path inside the bucket. This is only relevant when
using a non-default workspace, and defaults to env:
.
Generated using TypeDoc
The configuration options for a Terraform Remote State stored in the S3 backend.