terraform-provider-newrelic: The argument "account_id" is required, but was not set error message
provider "newrelic" {
account_id = "[hidden]"
api_key = "[hidden]"
}
data "newrelic_entity" "test" {
name = "Python Agent Test"
type = "APPLICATION"
domain = "APM"
}
terraform {
required_providers {
newrelic = {
version = "~> 2.13.5"
source = "newrelic/newrelic"
}
}
required_version = ">= 0.14"
}
Steps to Reproduce
Use this repository, init terraform and run terraform plan under the production directory.
Actual Behavior
When trying to run terraform plan with this simple configuration (repository), I get this error:
Click to expand
TF_LOG=TRACE terraform plan
2020/12/15 18:46:31 [INFO] Terraform version: 0.14.2
2020/12/15 18:46:31 [INFO] Go runtime version: go1.15.5
2020/12/15 18:46:31 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2020/12/15 18:46:31 [DEBUG] Attempting to open CLI config file: /Users/toxinu/.terraformrc
2020/12/15 18:46:31 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/12/15 18:46:31 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/12/15 18:46:31 [DEBUG] ignoring non-existing provider search directory /Users/toxinu/.terraform.d/plugins
2020/12/15 18:46:31 [DEBUG] ignoring non-existing provider search directory /Users/toxinu/Library/Application Support/io.terraform/plugins
2020/12/15 18:46:31 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2020/12/15 18:46:31 [INFO] CLI command args: []string{"plan"}
2020/12/15 18:46:31 [TRACE] Meta.Backend: built configuration for "local" backend with hash value 73024536
2020/12/15 18:46:31 [TRACE] Preserving existing state lineage "3f412a8a-d550-dd57-166c-1db658516889"
2020/12/15 18:46:31 [TRACE] Preserving existing state lineage "3f412a8a-d550-dd57-166c-1db658516889"
2020/12/15 18:46:31 [TRACE] Meta.Backend: working directory was previously initialized for "local" backend
2020/12/15 18:46:31 [TRACE] Meta.Backend: using already-initialized, unchanged "local" backend configuration
2020/12/15 18:46:31 [TRACE] Meta.Backend: instantiated backend of type *local.Local
2020/12/15 18:46:31 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2020/12/15 18:46:31 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2020/12/15 18:46:31 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/newrelic/newrelic v2.13.5 for darwin_amd64 at .terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64
2020/12/15 18:46:31 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64 as a candidate package for registry.terraform.io/newrelic/newrelic 2.13.5
2020/12/15 18:46:31 [DEBUG] checking for provisioner in "."
2020/12/15 18:46:31 [DEBUG] checking for provisioner in "/usr/local/bin"
2020/12/15 18:46:31 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2020/12/15 18:46:31 [TRACE] Meta.Backend: backend *local.Local supports operations
2020/12/15 18:46:31 [INFO] backend/local: starting Plan operation
2020/12/15 18:46:31 [TRACE] backend/local: requesting state manager for workspace "default"
2020/12/15 18:46:31 [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
2020/12/15 18:46:31 [TRACE] backend/local: requesting state lock for workspace "default"
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: existing snapshot has lineage "9d064e2c-0e33-b752-6141-08f878153134" serial 1
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2020/12/15 18:46:31 [TRACE] backend/local: reading remote state for workspace "default"
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2020/12/15 18:46:31 [TRACE] statemgr.Filesystem: read snapshot with lineage "9d064e2c-0e33-b752-6141-08f878153134" serial 1
2020/12/15 18:46:31 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2020/12/15 18:46:31 [TRACE] backend/local: building context for current working directory
2020/12/15 18:46:31 [TRACE] terraform.NewContext: starting
2020/12/15 18:46:31 [TRACE] terraform.NewContext: loading provider schemas
2020/12/15 18:46:31 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/newrelic/newrelic"
2020-12-15T18:46:31.767+0900 [INFO] plugin: configuring client automatic mTLS
2020-12-15T18:46:31.789+0900 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 args=[.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5]
2020-12-15T18:46:31.791+0900 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27971
2020-12-15T18:46:31.791+0900 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5
2020-12-15T18:46:32.005+0900 [INFO] plugin.terraform-provider-newrelic_v2.13.5: configuring server automatic mTLS: timestamp=2020-12-15T18:46:32.005+0900
2020-12-15T18:46:32.027+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: plugin address: address=/var/folders/lj/q22dsnc17cbckk4hsy609hym0000gn/T/plugin380353310 network=unix timestamp=2020-12-15T18:46:32.027+0900
2020-12-15T18:46:32.027+0900 [DEBUG] plugin: using plugin: version=5
2020/12/15 18:46:32 [TRACE] GRPCProvider: GetSchema
2020-12-15T18:46:32.074+0900 [TRACE] plugin.stdio: waiting for stdio data
2020/12/15 18:46:32 [TRACE] No provider meta schema returned
2020/12/15 18:46:32 [TRACE] GRPCProvider: Close
2020-12-15T18:46:32.079+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-12-15T18:46:32.081+0900 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27971
2020-12-15T18:46:32.081+0900 [DEBUG] plugin: plugin exited
2020/12/15 18:46:32 [TRACE] terraform.NewContext: complete
2020/12/15 18:46:32 [TRACE] backend/local: finished building terraform.Context
2020/12/15 18:46:32 [TRACE] backend/local: requesting interactive input, if necessary
2020/12/15 18:46:32 [TRACE] Context.Input: Prompting for provider arguments
2020/12/15 18:46:32 [TRACE] backend/local: running validation operation
2020/12/15 18:46:32 [INFO] terraform: building graph: GraphTypeValidate
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ConfigTransformer
2020/12/15 18:46:32 [TRACE] ConfigTransformer: Starting for path:
2020/12/15 18:46:32 [TRACE] ConfigTransformer: Starting for path: module.example
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.LocalTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OutputTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.StateTransformer
2020/12/15 18:46:32 [TRACE] StateTransformer: state is empty, so nothing to do
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2020/12/15 18:46:32 [TRACE] AttachResourceConfigTransformer: attaching to "module.example.data.newrelic_entity.test" (*terraform.NodeValidatableResource) config from hcl.Range{Filename:"../common/newrelic.tf", Start:hcl.Pos{Line:7, Column:1, Byte:103}, End:hcl.Pos{Line:7, Column:30, Byte:132}}
2020/12/15 18:46:32 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2020/12/15 18:46:32 [TRACE] ProviderConfigTransformer: attaching to "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" provider configuration from ../common/newrelic.tf:2,1-20
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2020/12/15 18:46:32 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/newrelic/newrelic"], implied first by module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2020/12/15 18:46:32 [TRACE] ProviderTransformer: exact match for module.example.provider["registry.terraform.io/newrelic/newrelic"] serving module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [DEBUG] ProviderTransformer: "module.example.data.newrelic_entity.test" (*terraform.NodeValidatableResource) needs module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2020/12/15 18:46:32 [DEBUG] pruning unused provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2020/12/15 18:46:32 [TRACE] AttachSchemaTransformer: attaching provider config schema to module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] AttachSchemaTransformer: attaching resource schema to module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: Added module.example as *terraform.nodeValidateModule
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example.data.newrelic_entity.test must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example.provider["registry.terraform.io/newrelic/newrelic"] must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example (close) must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer with new graph:
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example.data.newrelic_entity.test" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example (expand)" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example (close)" references: []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2020/12/15 18:46:32 [TRACE] attachDataDependenciesTransformer: module.example.data.newrelic_entity.test depends on []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (close) - *terraform.nodeCloseModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example (expand) - *terraform.nodeValidateModule
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeValidateModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test - *terraform.NodeValidatableResource
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
------
2020/12/15 18:46:32 [DEBUG] Starting graph walk: walkValidate
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example (expand)"
2020/12/15 18:46:32 [TRACE] vertex "module.example (expand)": starting visit (*terraform.nodeValidateModule)
2020/12/15 18:46:32 [TRACE] vertex "module.example (expand)": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]"
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]": starting visit (*terraform.NodeApplyableProvider)
2020-12-15T18:46:32.083+0900 [INFO] plugin: configuring client automatic mTLS
2020-12-15T18:46:32.105+0900 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 args=[.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5]
2020-12-15T18:46:32.107+0900 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27972
2020-12-15T18:46:32.108+0900 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5
2020-12-15T18:46:32.121+0900 [INFO] plugin.terraform-provider-newrelic_v2.13.5: configuring server automatic mTLS: timestamp=2020-12-15T18:46:32.121+0900
2020-12-15T18:46:32.144+0900 [DEBUG] plugin: using plugin: version=5
2020-12-15T18:46:32.144+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: plugin address: address=/var/folders/lj/q22dsnc17cbckk4hsy609hym0000gn/T/plugin415588827 network=unix timestamp=2020-12-15T18:46:32.144+0900
2020/12/15 18:46:32 [TRACE] BuiltinEvalContext: Initialized "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" provider for module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] buildProviderConfig for module.example.provider["registry.terraform.io/newrelic/newrelic"]: using explicit config only
2020/12/15 18:46:32 [TRACE] GRPCProvider: GetSchema
2020-12-15T18:46:32.191+0900 [TRACE] plugin.stdio: waiting for stdio data
2020/12/15 18:46:32 [TRACE] No provider meta schema returned
2020/12/15 18:46:32 [TRACE] GRPCProvider: PrepareProviderConfig
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.data.newrelic_entity.test"
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": starting visit (*terraform.NodeValidatableResource)
2020/12/15 18:46:32 [TRACE] GRPCProvider: ValidateDataSourceConfig
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)"
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example (close)"
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2020/12/15 18:46:32 [TRACE] vertex "module.example (close)": starting visit (*terraform.nodeCloseModule)
2020/12/15 18:46:32 [TRACE] GRPCProvider: Close
2020/12/15 18:46:32 [TRACE] vertex "module.example (close)": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2020/12/15 18:46:32 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2020/12/15 18:46:32 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2020-12-15T18:46:32.197+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-12-15T18:46:32.198+0900 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27972
2020-12-15T18:46:32.198+0900 [DEBUG] plugin: plugin exited
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "root"
2020/12/15 18:46:32 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2020/12/15 18:46:32 [TRACE] vertex "root": visit complete
2020/12/15 18:46:32 [INFO] backend/local: plan calling Plan
2020/12/15 18:46:32 [INFO] terraform: building graph: GraphTypePlan
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ConfigTransformer
2020/12/15 18:46:32 [TRACE] ConfigTransformer: Starting for path:
2020/12/15 18:46:32 [TRACE] ConfigTransformer: Starting for path: module.example
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.LocalTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OutputTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2020/12/15 18:46:32 [TRACE] OrphanResourceInstanceTransformer: adding single-instance orphan node for newrelic_alert_policy.error_alerts
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.StateTransformer
2020/12/15 18:46:32 [TRACE] StateTransformer: creating nodes for deposed instance objects only
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2020/12/15 18:46:32 [TRACE] AttachResourceConfigTransformer: attaching to "module.example.data.newrelic_entity.test (expand)" (*terraform.nodeExpandPlannableResource) config from hcl.Range{Filename:"../common/newrelic.tf", Start:hcl.Pos{Line:7, Column:1, Byte:103}, End:hcl.Pos{Line:7, Column:30, Byte:132}}
2020/12/15 18:46:32 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to module.example.data.newrelic_entity.test (expand)
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2020/12/15 18:46:32 [TRACE] ProviderConfigTransformer: attaching to "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" provider configuration from ../common/newrelic.tf:2,1-20
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2020/12/15 18:46:32 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/newrelic/newrelic"], implied first by module.example.data.newrelic_entity.test (expand)
2020/12/15 18:46:32 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/newrelic"], implied first by newrelic_alert_policy.error_alerts (orphan)
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/hashicorp/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2020/12/15 18:46:32 [TRACE] ProviderTransformer: newrelic_alert_policy.error_alerts (orphan) is provided by provider["registry.terraform.io/newrelic/newrelic"] exactly
2020/12/15 18:46:32 [TRACE] ProviderTransformer: exact match for module.example.provider["registry.terraform.io/newrelic/newrelic"] serving module.example.data.newrelic_entity.test (expand)
2020/12/15 18:46:32 [DEBUG] ProviderTransformer: "module.example.data.newrelic_entity.test (expand)" (*terraform.nodeExpandPlannableResource) needs module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/newrelic/newrelic"] serving newrelic_alert_policy.error_alerts (orphan)
2020/12/15 18:46:32 [DEBUG] ProviderTransformer: "newrelic_alert_policy.error_alerts (orphan)" (*terraform.NodePlannableResourceInstanceOrphan) needs provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2020/12/15 18:46:32 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/newrelic"]
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2020/12/15 18:46:32 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2020/12/15 18:46:32 [TRACE] AttachSchemaTransformer: attaching resource schema to module.example.data.newrelic_entity.test (expand)
2020/12/15 18:46:32 [ERROR] AttachSchemaTransformer: No resource schema available for newrelic_alert_policy.error_alerts
2020/12/15 18:46:32 [TRACE] AttachSchemaTransformer: attaching provider config schema to module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: Added module.example as *terraform.nodeExpandModule
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example (close) must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example.data.newrelic_entity.test (expand) must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] ModuleExpansionTransformer: module.example.provider["registry.terraform.io/newrelic/newrelic"] must wait for expansion of module.example
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer with new graph:
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example (close)" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example.data.newrelic_entity.test (expand)" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "newrelic_alert_policy.error_alerts (orphan)" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/newrelic/newrelic\"]" references: []
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example (expand)" references: []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2020/12/15 18:46:32 [TRACE] AttachDependenciesTransformer: module.example.data.newrelic_entity.test depends on []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2020/12/15 18:46:32 [TRACE] attachDataDependenciesTransformer: module.example.data.newrelic_entity.test depends on []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2020/12/15 18:46:32 [TRACE] ForcedCBDTransformer: "module.example.data.newrelic_entity.test (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (close) - *terraform.nodeCloseModule
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example (close) - *terraform.nodeCloseModule
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
module.example (close) - *terraform.nodeCloseModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example (expand) - *terraform.nodeExpandModule
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example.provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
module.example (expand) - *terraform.nodeExpandModule
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
module.example.data.newrelic_entity.test (expand) - *terraform.nodeExpandPlannableResource
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
newrelic_alert_policy.error_alerts (orphan) - *terraform.NodePlannableResourceInstanceOrphan
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
module.example.provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/newrelic/newrelic"] (close) - *terraform.graphNodeCloseProvider
------
2020/12/15 18:46:32 [DEBUG] Starting graph walk: walkPlan
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/newrelic/newrelic\"]"
2020/12/15 18:46:32 [TRACE] vertex "provider[\"registry.terraform.io/newrelic/newrelic\"]": starting visit (*terraform.NodeApplyableProvider)
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example (expand)"
2020/12/15 18:46:32 [TRACE] vertex "module.example (expand)": starting visit (*terraform.nodeExpandModule)
2020/12/15 18:46:32 [TRACE] vertex "module.example (expand)": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]"
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]": starting visit (*terraform.NodeApplyableProvider)
2020-12-15T18:46:32.200+0900 [INFO] plugin: configuring client automatic mTLS
2020-12-15T18:46:32.222+0900 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 args=[.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5]
2020-12-15T18:46:32.224+0900 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27973
2020-12-15T18:46:32.224+0900 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5
2020-12-15T18:46:32.237+0900 [INFO] plugin.terraform-provider-newrelic_v2.13.5: configuring server automatic mTLS: timestamp=2020-12-15T18:46:32.236+0900
2020-12-15T18:46:32.260+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: plugin address: address=/var/folders/lj/q22dsnc17cbckk4hsy609hym0000gn/T/plugin576049128 network=unix timestamp=2020-12-15T18:46:32.260+0900
2020-12-15T18:46:32.260+0900 [DEBUG] plugin: using plugin: version=5
2020/12/15 18:46:32 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/newrelic/newrelic\"]" provider for provider["registry.terraform.io/newrelic/newrelic"]
2020-12-15T18:46:32.308+0900 [TRACE] plugin.stdio: waiting for stdio data
2020/12/15 18:46:32 [TRACE] buildProviderConfig for provider["registry.terraform.io/newrelic/newrelic"]: no configuration at all
2020/12/15 18:46:32 [TRACE] GRPCProvider: GetSchema
2020-12-15T18:46:32.308+0900 [INFO] plugin: configuring client automatic mTLS
2020/12/15 18:46:32 [TRACE] No provider meta schema returned
2020/12/15 18:46:32 [TRACE] vertex "provider[\"registry.terraform.io/newrelic/newrelic\"]": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: upstream of "newrelic_alert_policy.error_alerts (orphan)" errored, so skipping
2020/12/15 18:46:32 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/newrelic/newrelic\"] (close)" errored, so skipping
2020-12-15T18:46:32.332+0900 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 args=[.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5]
2020-12-15T18:46:32.334+0900 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27974
2020-12-15T18:46:32.334+0900 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5
2020-12-15T18:46:32.346+0900 [INFO] plugin.terraform-provider-newrelic_v2.13.5: configuring server automatic mTLS: timestamp=2020-12-15T18:46:32.346+0900
2020-12-15T18:46:32.370+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: plugin address: address=/var/folders/lj/q22dsnc17cbckk4hsy609hym0000gn/T/plugin547516205 network=unix timestamp=2020-12-15T18:46:32.370+0900
2020-12-15T18:46:32.370+0900 [DEBUG] plugin: using plugin: version=5
2020/12/15 18:46:32 [TRACE] BuiltinEvalContext: Initialized "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]" provider for module.example.provider["registry.terraform.io/newrelic/newrelic"]
2020/12/15 18:46:32 [TRACE] buildProviderConfig for module.example.provider["registry.terraform.io/newrelic/newrelic"]: using explicit config only
2020/12/15 18:46:32 [TRACE] GRPCProvider: GetSchema
2020-12-15T18:46:32.417+0900 [TRACE] plugin.stdio: waiting for stdio data
2020/12/15 18:46:32 [TRACE] No provider meta schema returned
2020/12/15 18:46:32 [TRACE] GRPCProvider: Configure
2020-12-15T18:46:32.423+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: 2020/12/15 18:46:32 [INFO] UserAgent: HashiCorp Terraform/0.14.2 (+https://www.terraform.io) Terraform Plugin SDK/1.16.0 terraform-provider-newrelic/2.13.5
2020-12-15T18:46:32.423+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: 2020/12/15 18:46:32 [INFO] Initializing newrelic-client-go
2020-12-15T18:46:32.423+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: 2020/12/15 18:46:32 [INFO] New Relic client configured
2020-12-15T18:46:32.423+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: time="2020-12-15T18:46:32+09:00" level=debug msg="Compression set: 2"
2020-12-15T18:46:32.423+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: 2020/12/15 18:46:32 [INFO] New Relic Insights insert client configured
2020/12/15 18:46:32 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"]": visit complete
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.data.newrelic_entity.test (expand)"
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test (expand)": starting visit (*terraform.nodeExpandPlannableResource)
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test (expand)": expanding dynamic subgraph
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test (expand)": entering dynamic subgraph
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.data.newrelic_entity.test"
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": starting visit (*terraform.NodePlannableResource)
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": expanding dynamic subgraph
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ResourceCountTransformer
2020/12/15 18:46:32 [TRACE] ResourceCountTransformer: adding module.example.data.newrelic_entity.test as *terraform.NodePlannableResourceInstance
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph:
module.example.data.newrelic_entity.test - *terraform.NodePlannableResourceInstance
------
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2020/12/15 18:46:32 [DEBUG] Resource instance state not found for node "module.example.data.newrelic_entity.test", instance module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2020/12/15 18:46:32 [DEBUG] ReferenceTransformer: "module.example.data.newrelic_entity.test" references: []
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/12/15 18:46:32 [TRACE] Executing graph transform *terraform.RootTransformer
2020/12/15 18:46:32 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": entering dynamic subgraph
2020/12/15 18:46:32 [TRACE] dag/walk: visiting "module.example.data.newrelic_entity.test"
2020/12/15 18:46:32 [TRACE] vertex "module.example.data.newrelic_entity.test": starting visit (*terraform.NodePlannableResourceInstance)
2020/12/15 18:46:32 [TRACE] ReadResourceInstanceState: reading state for module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] ReadResourceInstanceState: no state present for module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] EvalReadData: Re-validating config for module.example.data.newrelic_entity.test
2020/12/15 18:46:32 [TRACE] GRPCProvider: ValidateDataSourceConfig
2020/12/15 18:46:32 [TRACE] EvalReadData: module.example.data.newrelic_entity.test configuration is complete, so reading from provider
2020/12/15 18:46:32 [TRACE] GRPCProvider: ReadDataSource
2020-12-15T18:46:32.425+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: 2020/12/15 18:46:32 [INFO] Reading New Relic entities
2020-12-15T18:46:32.425+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: time="2020-12-15T18:46:32+09:00" level=debug msg="performing request" method=POST url="https://api.newrelic.com/graphql"
2020-12-15T18:46:32.425+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: time="2020-12-15T18:46:32+09:00" level=trace msg="request details" headers="{\"Api-Key\":[\"NRAK-WM7************************\"],\"Content-Type\":[\"application/json\"],\"Newrelic-Requesting-Services\":[\"terraform-provider-newrelic|newrelic-client-go\"],\"User-Agent\":[\"HashiCorp Terraform/0.14.2 (+https://www.terraform.io) Terraform Plugin SDK/1.16.0 terraform-provider-newrelic/2.13.5\"]}" query=" query($queryBuilder: EntitySearchQueryBuilder, $cursor: String) { actor { entitySearch(queryBuilder: $queryBuilder) { results(cursor: $cursor) { nextCursor entities { accountId domain entityType guid name permalink reporting type ... on ApmApplicationEntityOutline { applicationId alertSeverity language runningAgentVersions { maxVersion minVersion } settings { apdexTarget serverSideConfig } } ... on BrowserApplicationEntityOutline { alertSeverity applicationId servingApmApplicationId } ... on MobileApplicationEntityOutline { alertSeverity applicationId } } } } } }" variables="{\"cursor\":null,\"queryBuilder\":{\"domain\":\"APM\",\"name\":\"Python Agent Test\",\"type\":\"APPLICATION\"}}"
2020-12-15T18:46:34.419+0900 [DEBUG] plugin.terraform-provider-newrelic_v2.13.5: time="2020-12-15T18:46:34+09:00" level=trace msg="request completed" body="{\"data\":{\"actor\":{\"entitySearch\":{\"results\":{\"entities\":[{\"accountId\":2986148,\"alertSeverity\":\"NOT_CONFIGURED\",\"applicationId\":734044608,\"domain\":\"APM\",\"entityType\":\"APM_APPLICATION_ENTITY\",\"guid\":\"Mjk4NjE0OHxBUE18QVBQTElDQVRJT058NzM0MDQ0NjA4\",\"language\":\"python\",\"name\":\"Python Agent Test\",\"permalink\":\"https://one.newrelic.com/redirect/entity/Mjk4NjE0OHxBUE18QVBQTElDQVRJT058NzM0MDQ0NjA4\",\"reporting\":true,\"runningAgentVersions\":{\"maxVersion\":null,\"minVersion\":null},\"settings\":{\"apdexTarget\":0.5,\"serverSideConfig\":false},\"type\":\"APPLICATION\"}],\"nextCursor\":null}}}}}" headers="{\"Cache-Control\":[\"max-age=0, private, must-revalidate\"],\"Content-Security-Policy\":[\"frame-ancestors *.newrelic.com\"],\"Content-Type\":[\"application/json; charset=utf-8\"],\"Date\":[\"Tue, 15 Dec 2020 09:46:33 GMT\"],\"Proxied-By\":[\"Service Gateway\"],\"Served-By\":[\"nerd-graph\"],\"Server\":[\"Cowboy\"],\"Strict-Transport-Security\":[\"max-age=31536000; includeSubDomains\"],\"Vary\":[\"accept-encoding\"]}" method=POST status_code=200 url="https://api.newrelic.com/graphql"
2020/12/15 18:46:34 [TRACE] EvalWriteState: using RefreshState for module.example.data.newrelic_entity.test
2020/12/15 18:46:34 [TRACE] EvalWriteState: writing current state object for module.example.data.newrelic_entity.test
2020/12/15 18:46:34 [TRACE] EvalWriteState: writing current state object for module.example.data.newrelic_entity.test
2020/12/15 18:46:34 [TRACE] vertex "module.example.data.newrelic_entity.test": visit complete
2020/12/15 18:46:34 [TRACE] vertex "module.example.data.newrelic_entity.test": dynamic subgraph completed successfully
2020/12/15 18:46:34 [TRACE] vertex "module.example.data.newrelic_entity.test": visit complete
2020/12/15 18:46:34 [TRACE] vertex "module.example.data.newrelic_entity.test (expand)": dynamic subgraph completed successfully
2020/12/15 18:46:34 [TRACE] vertex "module.example.data.newrelic_entity.test (expand)": visit complete
2020/12/15 18:46:34 [TRACE] dag/walk: visiting "module.example (close)"
2020/12/15 18:46:34 [TRACE] dag/walk: visiting "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)"
2020/12/15 18:46:34 [TRACE] vertex "module.example (close)": starting visit (*terraform.nodeCloseModule)
2020/12/15 18:46:34 [TRACE] vertex "module.example (close)": visit complete
2020/12/15 18:46:34 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/12/15 18:46:34 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2020/12/15 18:46:34 [TRACE] GRPCProvider: Close
2020-12-15T18:46:34.422+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-12-15T18:46:34.424+0900 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27974
2020-12-15T18:46:34.424+0900 [DEBUG] plugin: plugin exited
2020/12/15 18:46:34 [TRACE] vertex "module.example.provider[\"registry.terraform.io/newrelic/newrelic\"] (close)": visit complete
2020/12/15 18:46:34 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020/12/15 18:46:34 [INFO] backend/local: plan operation completed
2020/12/15 18:46:34 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
Error: Missing required argument
2020/12/15 18:46:34 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
The argument "account_id" is required, but was not set.
2020-12-15T18:46:34.425+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-12-15T18:46:34.426+0900 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/newrelic/newrelic/2.13.5/darwin_amd64/terraform-provider-newrelic_v2.13.5 pid=27973
2020-12-15T18:46:34.426+0900 [DEBUG] plugin: plugin exited
But if I move the provider declaration under production/main.tf this problem is no more.
Expected Behavior
The expected behavior is that it is possible to declare my provider under my common folder without having this error.
Terraform Version
Terraform v0.14.2
+ provider registry.terraform.io/newrelic/newrelic v2.13.5
Affected Resource(s)
- New Relic provider itself
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (6 by maintainers)
I found the root cause as, if we have mismatch of new relic providers in different repos and they are collective used in deployment, Ex : in my case I had 2 different providers in two places one as, newrelic = { source = “terraform-providers/newrelic” } another is one is, newrelic = { source = “newrelic/newrelic” version = “~> 2.35” } once I used the 2nd one at both place error has been disappeared.
I also thought that maybe the issue is with combination of API key and account - maybe there’s a mismatch and it ends up in such strange error (I mean account cannot be edited with provided API key) - but for
newrelic_alert_policyit works fine with the same API key and account ID. so there’s something wrong withnewrelic_alert_channelonly.