Skip to content

Support needed for Terraform S3 backend state for AWS European Sovereign Cloud #37686

@Raptors06

Description

@Raptors06

Terraform Version

╰─ terraform version                                                                                                                           ─╯
Terraform v1.4.6
on darwin_arm64

Terraform Configuration Files

terraform {
  backend "s3" {
    encrypt        = true
    region         = "eusc-de-east-1"
    bucket         = "any-bucket-will-do"
    dynamodb_table = "any-table-will-do"
    key            = "state.tfstate"
  }
}

Debug Output

[WARN] Invalid log level: "TRUE". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR OFF]2025-09-26T08:54:48.327-0500 [INFO]  Terraform version: 1.4.6
2025-09-26T08:54:48.328-0500 [DEBUG] using github.com/hashicorp/go-tfe v1.21.0
2025-09-26T08:54:48.328-0500 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2
2025-09-26T08:54:48.328-0500 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2025-09-26T08:54:48.328-0500 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0
2025-09-26T08:54:48.328-0500 [DEBUG] using github.com/zclconf/go-cty v1.12.1
2025-09-26T08:54:48.328-0500 [INFO]  Go runtime version: go1.19.6
2025-09-26T08:54:48.328-0500 [INFO]  CLI args: []string{"/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.4.6/terraform", "init"}
2025-09-26T08:54:48.328-0500 [TRACE] Stdout is a terminal of width 146
2025-09-26T08:54:48.328-0500 [TRACE] Stderr is a terminal of width 146
2025-09-26T08:54:48.328-0500 [TRACE] Stdin is a terminal
2025-09-26T08:54:48.328-0500 [DEBUG] Attempting to open CLI config file: /Users/user/.terraformrc
2025-09-26T08:54:48.328-0500 [INFO]  Loading CLI configuration from /Users/user/.terraformrc
2025-09-26T08:54:48.328-0500 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-09-26T08:54:48.328-0500 [DEBUG] ignoring non-existing provider search directory /Users/user/.terraform.d/plugins
2025-09-26T08:54:48.328-0500 [DEBUG] ignoring non-existing provider search directory /Users/user/Library/Application Support/io.terraform/plugins
2025-09-26T08:54:48.328-0500 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2025-09-26T08:54:48.329-0500 [INFO]  CLI command args: []string{"init"}

Initializing the backend...
2025-09-26T08:54:48.414-0500 [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 1110048968
2025-09-26T08:54:48.414-0500 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2025-09-26T08:54:48.414-0500 [DEBUG] New state was assigned lineage "bf83a177-d008-567b-5982-260a37b3ed3b"
2025-09-26T08:54:48.414-0500 [TRACE] Meta.Backend: moving from default local state only to "s3" backend
2025-09-26T08:54:48.415-0500 [DEBUG] checking for provisioner in "."
2025-09-26T08:54:48.415-0500 [DEBUG] checking for provisioner in "/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.4.6"
2025-09-26T08:54:48.415-0500 [TRACE] backend/local: state manager for workspace "default" will:
 - read initial snapshot from state.tfstate
 - write new snapshots to state.tfstate
 - create any backup at state.tfstate.backup
2025-09-26T08:54:48.415-0500 [TRACE] statemgr.Filesystem: reading initial snapshot from state.tfstate
2025-09-26T08:54:48.415-0500 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2025-09-26T08:54:48.415-0500 [TRACE] statemgr.Filesystem: read nil snapshot
2025-09-26T08:54:48.415-0500 [TRACE] Meta.Backend: ignoring local "default" workspace because its state is empty
Initializing modules...
2025-09-26T08:54:48.416-0500 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules
2025-09-26T08:54:48.420-0500 [DEBUG] Module installer: begin base_context
╷
│ Error: Invalid AWS Region: eusc-de-east-1
│
│
╵

Expected Behavior

Remote backend S3 supported

Actual Behavior

Invalid AWS region

Steps to Reproduce

  1. terraform init

Additional Context

AWS European Sovereign Cloud is being created. However, the provider does not recognize eusc-de-east-1 as a valid region.

References

Generative AI / LLM assisted development?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions