Bucket | *string | Name of the S3 Bucket. |
Key | *string | Path to the state file inside the S3 Bucket. |
AccessKey | *string | (Optional) AWS access key. |
Acl | *string | (Optional) Canned ACL to be applied to the state file. |
AllowedAccountIds | *[]*string | (Optional) List of allowed AWS account IDs to prevent potential destruction of a live environment. |
AssumeRole | S3BackendAssumeRoleConfig | Assuming an IAM Role can be configured in two ways. |
AssumeRolePolicy | *string | (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. |
AssumeRolePolicyArns | *[]*string | (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. |
AssumeRoleTags | *map[string]*string | (Optional) Map of assume role session tags. |
AssumeRoleTransitiveTagKeys | *[]*string | (Optional) Set of assume role session tag keys to pass to any subsequent sessions. |
AssumeRoleWithWebIdentity | S3BackendAssumeRoleWithWebIdentityConfig | Assume Role With Web Identity Configuration. |
CustomCaBundle | *string | (Optional) File containing custom root and intermediate certificates. |
DynamodbEndpoint | *string | (Optional) Custom endpoint for the AWS DynamoDB API. |
DynamodbTable | *string | (Optional) Name of DynamoDB Table to use for state locking and consistency. |
Ec2MetadataServiceEndpoint | *string | Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. |
Ec2MetadataServiceEndpointMode | *string | (Optional) Mode to use in communicating with the metadata service. |
Encrypt | *bool | (Optional) Enable server side encryption of the state file. |
Endpoint | *string | (Optional) Custom endpoint for the AWS S3 API. |
Endpoints | S3BackendEndpointConfig | (Optional) The endpoint configuration block. |
ExternalId | *string | (Optional) External identifier to use when assuming the role. |
ForbiddenAccountIds | *[]*string | (Optional) List of forbidden AWS account IDs to prevent potential destruction of a live environment. |
ForcePathStyle | *bool | (Optional) Enable path-style S3 URLs (https://< HOST >/< BUCKET > instead of https://< BUCKET >.< HOST >). |
HttpProxy | *string | (Optional) URL of a proxy to use for HTTP requests when accessing the AWS API. |
HttpsProxy | *string | (Optional) URL of a proxy to use for HTTPS requests when accessing the AWS API. |
IamEndpoint | *string | (Optional) Custom endpoint for the AWS Identity and Access Management (IAM) API. |
Insecure | *bool | Optional) Whether to explicitly allow the backend to perform “insecure” SSL requests. |
KmsKeyId | *string | (Optional) Amazon Resource Name (ARN) of a Key Management Service (KMS) Key to use for encrypting the state. |
MaxRetries | *f64 | (Optional) The maximum number of times an AWS API request is retried on retryable failure. |
NoProxy | *string | (Optional) Comma-separated list of hosts that should not use HTTP or HTTPS proxies. |
Profile | *string | (Optional) Name of AWS profile in AWS shared credentials file (e.g. ~/.aws/credentials) or AWS shared configuration file (e.g. ~/.aws/config) to use for credentials and/or configuration. This can also be sourced from the AWS_PROFILE environment variable. |
Region | *string | AWS Region of the S3 Bucket and DynamoDB Table (if used). |
RetryMode | *string | (Optional) Specifies how retries are attempted. |
RoleArn | *string | (Optional) Amazon Resource Name (ARN) of the IAM Role to assume. |
SecretKey | *string | (Optional) AWS secret access key. |
SessionName | *string | (Optional) Session name to use when assuming the role. |
SharedConfigFiles | *[]*string | (Optional) List of paths to AWS shared configuration files. |
SharedCredentialsFile | *string | (Optional) Path to the AWS shared credentials file. |
SharedCredentialsFiles | *[]*string | (Optional) List of paths to AWS shared credentials files. |
SkipCredentialsValidation | *bool | (Optional) Skip credentials validation via the STS API. |
SkipMetadataApiCheck | *bool | (Optional) Skip usage of EC2 Metadata API. |
SkipRegionValidation | *bool | (Optional) Skip validation of provided region name. |
SkipRequestingAccountId | *bool | (Optional) Whether to skip requesting the account ID. |
SkipS3Checksum | *bool | (Optional) Do not include checksum when uploading S3 Objects. |
SseCustomerKey | *string | (Optional) The key to use for encrypting state with Server-Side Encryption with Customer-Provided Keys (SSE-C). |
StsEndpoint | *string | (Optional) Custom endpoint for the AWS Security Token Service (STS) API. |
StsRegion | *string | (Optional) AWS region for STS. |
Token | *string | (Optional) Multi-Factor Authentication (MFA) token. |
UseLegacyWorkflow | *bool | (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. |
UsePathStyle | *bool | (Optional) Enable path-style S3 URLs (https://< HOST >/< BUCKET > instead of https://< BUCKET >.< HOST >). |
WorkspaceKeyPrefix | *string | (Optional) Prefix applied to the state path inside the bucket. |