-
-
Save daveinci/de6cc4e24c4fe6f2998e3ce6ccf9ce8e to your computer and use it in GitHub Desktop.
Terraform azurerm backend in Custom Cloud Environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform init | |
2024-04-29T10:27:31.730-0500 [INFO] Terraform version: 1.8.2 | |
2024-04-29T10:27:31.730-0500 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0 | |
2024-04-29T10:27:31.730-0500 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0 | |
2024-04-29T10:27:31.730-0500 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 | |
2024-04-29T10:27:31.730-0500 [DEBUG] using github.com/zclconf/go-cty v1.14.3 | |
2024-04-29T10:27:31.730-0500 [INFO] Go runtime version: go1.22.1 | |
2024-04-29T10:27:31.731-0500 [INFO] CLI args: []string{"terraform", "init"} | |
2024-04-29T10:27:31.731-0500 [TRACE] Stdout is a terminal of width 294 | |
2024-04-29T10:27:31.731-0500 [TRACE] Stderr is a terminal of width 294 | |
2024-04-29T10:27:31.731-0500 [TRACE] Stdin is a terminal | |
2024-04-29T10:27:31.731-0500 [DEBUG] Attempting to open CLI config file: /home/<user>/.terraformrc | |
2024-04-29T10:27:31.731-0500 [INFO] Loading CLI configuration from /home/<user>/.terraformrc | |
2024-04-29T10:27:31.731-0500 [DEBUG] checking for credentials in "/home/<user>/.terraform.d/plugins" | |
2024-04-29T10:27:31.731-0500 [DEBUG] Explicit provider installation configuration is set | |
2024-04-29T10:27:31.731-0500 [TRACE] Selected provider installation method cliconfig.ProviderInstallationDirect with includes [] and excludes [] | |
2024-04-29T10:27:31.731-0500 [INFO] CLI command args: []string{"init"} | |
Initializing the backend... | |
2024-04-29T10:27:31.736-0500 [TRACE] Meta.Backend: built configuration for "azurerm" backend with hash value 2373791061 | |
2024-04-29T10:27:31.736-0500 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2024-04-29T10:27:31.736-0500 [DEBUG] New state was assigned lineage "c09e068a-2752-3a54-d3a4-02f58060b834" | |
2024-04-29T10:27:31.736-0500 [TRACE] Meta.Backend: moving from default local state only to "azurerm" backend | |
2024-04-29T10:27:31.737-0500 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers | |
2024-04-29T10:27:31.737-0500 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/azurerm v3.100.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/azurerm/3.100.0/linux_amd64 | |
2024-04-29T10:27:31.737-0500 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/azurerm v3.101.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/azurerm/3.101.0/linux_amd64 | |
2024-04-29T10:27:31.737-0500 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.2 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/null/3.2.2/linux_amd64 | |
2024-04-29T10:27:31.737-0500 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.1 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/random/3.6.1/linux_amd64 | |
2024-04-29T10:27:31.737-0500 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/azurerm/3.100.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/azurerm 3.100.0 | |
2024-04-29T10:27:31.737-0500 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/azurerm/3.101.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/azurerm 3.101.0 | |
2024-04-29T10:27:31.737-0500 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/null/3.2.2/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.2 | |
2024-04-29T10:27:31.737-0500 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/random/3.6.1/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.1 | |
2024-04-29T10:27:31.749-0500 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers | |
2024-04-29T10:27:31.935-0500 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers | |
2024-04-29T10:27:31.945-0500 [DEBUG] checking for provisioner in "." | |
2024-04-29T10:27:31.948-0500 [DEBUG] checking for provisioner in "/usr/bin" | |
2024-04-29T10:27:31.948-0500 [DEBUG] checking for provisioner in "/home/<user>/.terraform.d/plugins" | |
2024-04-29T10:27:31.948-0500 [TRACE] backend/local: state manager for workspace "default" will: | |
- read initial snapshot from terraform.tfstate | |
- write new snapshots to terraform.tfstate | |
- create any backup at terraform.tfstate.backup | |
2024-04-29T10:27:31.948-0500 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2024-04-29T10:27:31.954-0500 [TRACE] statemgr.Filesystem: read snapshot with lineage "ad4c01e3-5d8b-b0b1-48a6-6043205d252c" serial 108 | |
2024-04-29T10:27:31.954-0500 [TRACE] Meta.Backend: will need to migrate workspace states because of existing "default" workspace | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Service Principal / Client Certificate is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Multi Tenant Service Principal / Client Secret is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Service Principal / Client Secret is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if OIDC is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Managed Service Identity is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Obtaining a Multi-tenant token from the Azure CLI is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Testing if Obtaining a token from the Azure CLI is applicable for Authentication.. | |
2024-04-29T10:27:31.955-0500 [INFO] Using Obtaining a token from the Azure CLI for Authentication | |
2024-04-29T10:27:32.526-0500 [INFO] Getting OAuth config for endpoint https://login.microsoftonline.com/ with tenant <tenantID> | |
2024-04-29T10:27:32.526-0500 [DEBUG] Obtaining an MSAL / Microsoft Graph token for Resource Manager.. | |
2024-04-29T10:27:32.872-0500 [DEBUG] Obtaining an MSAL / Microsoft Graph token for Storage.. | |
2024-04-29T10:27:33.241-0500 [INFO] backendMigrateState: need to migrate from "local" to "azurerm" backend config | |
2024-04-29T10:27:33.242-0500 [DEBUG] Azure Backend Request: | |
GET /tfstate?comp=list&prefix=prod.terraform.tfstateenv%3A&restype=container HTTP/1.1 | |
Host: <storage-account-name>.blob.core.windows.net | |
User-Agent: HashiCorp Terraform/1.8.2 (+https://www.terraform.io) | |
Content-Type: application/xml; charset=utf-8 | |
X-Ms-Version: 2018-11-09 | |
Accept-Encoding: gzip | |
2024-04-29T10:27:33.249-0500 [DEBUG] Request to https://<storage-account-name>.blob.core.windows.net/tfstate?comp=list&prefix=prod.terraform.tfstateenv%3A&restype=container completed with no response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment