PortOfPortland / terraform-provider-windns

A Terraform provider for Microsoft Windows DNS
MIT License
39 stars 20 forks source link

Terraform apply succeeded, but no dns records are created #15

Closed dcardellino closed 3 years ago

dcardellino commented 3 years ago

Hey there,

When i use this terraform provider to create a records for my server in Windows DNS, terraform code gets applied without errors, but when i check the dns server there are no records created.

I use the provider as following: provider "windns" { server = "mydns.domain.intern" username = "automationuser@domain.intern" password = "Sup3rS3cureP4ssw0rd" usessl = true } this is the resource to be created: resource "windns" "arecord" { record_name = "test-record" record_type = "A" zone_name = "domain.intern" ipv4address = "10.1.180.1" }

Am I using this provider wrong? The automation user has domain admin rights so it should be able to create records. I am using this provider with terraform 0.13.4 on macos catalina.

yigit9194 commented 3 years ago

Hi,

I'm facing the same issue, i try to create a CNAME record. Here is the code : resource "windns" "airflow_dns" { record_name = "my_record" record_type = "CNAME" zone_name = "domain.name" hostnamealias = "something_at.amazonaws.com" }

In the output of terraform, something was created well with an ID, but on my DNS server i didn't find the records. I tried a DNS resolution but still nothing. I created the DNS records manually and it works so i conclude that terraform didn't create the record.

I'm using terraform 0.13.4 version on CentOS 7.

PhilipWhiteside commented 3 years ago

Same as above. With no error information it is impossible to know what we're doing and what to try next.

Is there a way to get information from the PowerShell side? I have tried TF_LOG=TRACE terraform apply but that all seemed successful.

terraform {
  required_providers {
    windns = {
      source  = "PortOfPortland/windns"
      version = "0.5.1"
    }
  }
}

provider "windns" {
  server   = "<domain controller IP>"
  username = var.username
  password = var.password
}

#create an a record
resource "windns" "dns" {
  record_name = "pwhitesi_testentry_1"
  record_type = "A"
  zone_name   = "bedfont.io"
  ipv4address = "192.168.1.5"
}
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # windns.dns will be created
  + resource "windns" "dns" {
      + id          = (known after apply)
      + ipv4address = "192.168.1.5"
      + record_name = "pwhitesi_testentry_1"
      + record_type = "A"
      + zone_name   = "bedfont.io"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes
2020/11/20 07:21:42 [INFO] backend/local: apply calling Apply
2020/11/20 07:21:42 [INFO] terraform: building graph: GraphTypeApply
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.ConfigTransformer
2020/11/20 07:21:42 [TRACE] ConfigTransformer: Starting for path: 
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.DiffTransformer
2020/11/20 07:21:42 [TRACE] DiffTransformer starting
2020/11/20 07:21:42 [TRACE] DiffTransformer: found Create change for windns.dns 
2020/11/20 07:21:42 [TRACE] DiffTransformer: windns.dns will be represented by windns.dns
2020/11/20 07:21:42 [TRACE] DiffTransformer complete
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph:
  windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2020/11/20 07:21:42 [TRACE] AttachResourceConfigTransformer: attaching to "windns.dns (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:2,1-24
2020/11/20 07:21:42 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to windns.dns (expand)
2020/11/20 07:21:42 [TRACE] AttachResourceConfigTransformer: attaching to "windns.dns" (*terraform.NodeApplyableResourceInstance) config from main.tf:2,1-24
2020/11/20 07:21:42 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to windns.dns
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2020/11/20 07:21:42 [DEBUG] Resource state not found for node "windns.dns", instance windns.dns
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.RootVariableTransformer with new graph:
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.LocalTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.OutputTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph tran
sform *terraform.ModuleVariableTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2020/11/20 07:21:42 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/portofportland/windns\"]" provider configuration from versions.tf:20,1-18
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
  ------
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2020/11/20 07:21:42 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/portofportland/windns"] serving windns.dns (expand)
2020/11/20 07:21:42 [DEBUG] ProviderTransformer: "windns.dns (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/portofportland/windns"] serving windns.dns
2020/11/20 07:21:42 [DEBUG] ProviderTransformer: "windns.dns" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2020/11/20 07:21:42 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2020/11/20 07:21:42 [TRACE] AttachSchemaTransformer: attaching resource schema to windns.dns (expand)
2020/11/20 07:21:42 [TRACE] AttachSchemaTransformer: attaching resource schema to windns.dns
2020/11/20 07:21:42 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2020/11/20 07:21:42 [DEBUG] ReferenceTransformer: "windns.dns" references: []
2020/11/20 07:21:42 [DEBUG] ReferenceTransformer: "var.username" references: []
2020/11/20 07:21:42 [DEBUG] ReferenceTransformer: "var.password" references: []
2020/11/20 07:21:42 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/portofportland/windns\"]" references: [var.username var.password]
2020/11/20 07:21:42 [DEBUG] ReferenceTransformer: "windns.dns (expand)" references: []
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ReferenceTransformer with new graph:
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2020/11/20 07:21:42 [TRACE] AttachDependenciesTransformer: windns.dns depends on []
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2020/11/20 07:21:42 [TRACE] ForcedCBDTransformer: "windns.dns" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.destroyRootOutputTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.destroyRootOutputTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
    windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
    windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
  provider["registry.terraform.io/portofportland/windns"] (close) - *terraform.graphNodeCloseProvider
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.CloseProvisionerTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.CloseProvisionerTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.applyDestroyNodeReferenceFixupTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.applyDestroyNodeReferenceFixupTransformer (no changes)
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
    windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
  provider["registry.terraform.io/portofportland/windns"] (close) - *terraform.graphNodeCloseProvider
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/portofportland/windns"] (close) - *terraform.graphNodeCloseProvider
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2020/11/20 07:21:42 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    windns.dns - *terraform.NodeApplyableResourceInstance
  provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
    var.password - *terraform.NodeRootVariable
    var.username - *terraform.NodeRootVariable
  provider["registry.terraform.io/portofportland/windns"] (close) - *terraform.graphNodeCloseProvider
    windns.dns - *terraform.NodeApplyableResourceInstance
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/portofportland/windns"] (close) - *terraform.graphNodeCloseProvider
  var.password - *terraform.NodeRootVariable
  var.username - *terraform.NodeRootVariable
  windns.dns - *terraform.NodeApplyableResourceInstance
    windns.dns (expand) - *terraform.nodeExpandApplyableResource
  windns.dns (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/portofportland/windns"] - *terraform.NodeApplyableProvider
  ------
2020/11/20 07:21:42 [DEBUG] Starting graph walk: walkApply
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "var.username"
2020/11/20 07:21:42 [TRACE] vertex "var.username": starting visit (*terraform.NodeRootVariable)
2020/11/20 07:21:42 [TRACE] vertex "var.username": evaluating
2020/11/20 07:21:42 [TRACE] [walkApply] Entering eval tree: var.username
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] [walkApply] Exiting eval tree: var.username
2020/11/20 07:21:42 [TRACE] vertex "var.username": visit complete
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "var.password"
2020/11/20 07:21:42 [TRACE] vertex "var.password": starting visit (*terraform.NodeRootVariable)
2020/11/20 07:21:42 [TRACE] vertex "var.password": evaluating
2020/11/20 07:21:42 [TRACE] [walkApply] Entering eval tree: var.password
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] [walkApply] Exiting eval tree: var.password
2020/11/20 07:21:42 [TRACE] vertex "var.password": visit complete
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/portofportland/windns\"]"
2020/11/20 07:21:42 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"]": starting visit (*terraform.NodeApplyableProvider)
2020/11/20 07:21:42 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"]": evaluating
2020/11/20 07:21:42 [TRACE] [walkApply] Entering eval tree: provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalInitProvider
2020-11-20T07:21:42.398Z [INFO]  plugin: configuring client automatic mTLS
2020-11-20T07:21:42.440Z [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/portofportland/windns/0.5.1/linux_amd64/terraform-provider-windns_v0.5.1 args=[.terraform/plugins/registry.terraform.io/portofportland/windns/0.5.1/linux_amd64/terraform-provider-windns_v0.5.1]
2020-11-20T07:21:42.440Z [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/portofportland/windns/0.5.1/linux_amd64/terraform-provider-windns_v0.5.1 pid=4894
2020-11-20T07:21:42.440Z [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/portofportland/windns/0.5.1/linux_amd64/terraform-provider-windns_v0.5.1
2020-11-20T07:21:42.450Z [INFO]  plugin.terraform-provider-windns_v0.5.1: configuring server automatic mTLS: timestamp=2020-11-20T07:21:42.450Z
2020-11-20T07:21:42.497Z [DEBUG] plugin.terraform-provider-windns_v0.5.1: plugin address: address=/tmp/plugin854914846 network=unix timestamp=2020-11-20T07:21:42.497Z
2020-11-20T07:21:42.497Z [DEBUG] plugin: using plugin: version=5
2020/11/20 07:21:42 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/portofportland/windns\"]" provider for provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] eval: terraform.EvalNoop
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalOpFilter
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalOpFilter
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalConfigProvider
2020/11/20 07:21:42 [TRACE] buildProviderConfig for provider["registry.terraform.io/portofportland/windns"]: using explicit config only
2020/11/20 07:21:42 [TRACE] GRPCProvider: GetSchema
2020-11-20T07:21:42.580Z [TRACE] plugin.stdio: waiting for stdio data
2020/11/20 07:21:42 [TRACE] No provider meta schema returned
2020/11/20 07:21:42 [TRACE] GRPCProvider: Configure
2020/11/20 07:21:42 [TRACE] eval: terraform.EvalNoop
2020/11/20 07:21:42 [TRACE] [walkApply] Exiting eval tree: provider["registry.terraform.io/portofportland/windns"]
2020/11/20 07:21:42 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"]": visit complete
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "windns.dns (expand)"
2020/11/20 07:21:42 [TRACE] vertex "windns.dns (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2020/11/20 07:21:42 [TRACE] vertex "windns.dns (expand)": expanding dynamic subgraph
2020/11/20 07:21:42 [TRACE] vertex "windns.dns (expand)": entering dynamic subgraph
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "windns.dns"
2020/11/20 07:21:42 [TRACE] vertex "windns.dns": starting visit (*terraform.NodeApplyableResource)
2020/11/20 07:21:42 [TRACE] vertex "windns.dns": evaluating
2020/11/20 07:21:42 [TRACE] [walkApply] Entering eval tree: windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalWriteResourceState
2020/11/20 07:21:42 [TRACE] [walkApply] Exiting eval tree: windns.dns
2020/11/20 07:21:42 [TRACE] vertex "windns.dns": visit complete
2020/11/20 07:21:42 [TRACE] vertex "windns.dns (expand)": dynamic subgraph completed successfully
2020/11/20 07:21:42 [TRACE] vertex "windns.dns (expand)": visit complete
2020/11/20 07:21:42 [TRACE] dag/walk: visiting "windns.dns"
2020/11/20 07:21:42 [TRACE] vertex "windns.dns": starting visit (*terraform.NodeApplyableResourceInstance)
2020/11/20 07:21:42 [TRACE] vertex "windns.dns": evaluating
2020/11/20 07:21:42 [TRACE] [walkApply] Entering eval tree: windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalReadDiff
2020/11/20 07:21:42 [TRACE] EvalReadDiff: Read Create change from plan for windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalIf
2020/11/20 07:21:42 [TRACE] eval: terraform.EvalNoop
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalIf
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalReadState
2020/11/20 07:21:42 [TRACE] EvalReadState: reading state for windns.dns
2020/11/20 07:21:42 [TRACE] EvalReadState: no state present for windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalReadDiff
2020/11/20 07:21:42 [TRACE] EvalReadDiff: Read Create change from plan for windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalDiff
2020/11/20 07:21:42 [TRACE] Re-validating config for "windns.dns"
2020/11/20 07:21:42 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2020/11/20 07:21:42 [TRACE] GRPCProvider: PlanResourceChange
windns.dns: Creating...
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalCheckPlannedChange
2020/11/20 07:21:42 [TRACE] EvalCheckPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalReadState
2020/11/20 07:21:42 [TRACE] EvalReadState: reading state for windns.dns
2020/11/20 07:21:42 [TRACE] EvalReadState: no state present for windns.dns
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalReduceDiff
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalIf
2020/11/20 07:21:42 [TRACE] eval: terraform.EvalNoop
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalApplyPre
2020/11/20 07:21:42 [TRACE] eval: *terraform.EvalApply
2020/11/20 07:21:42 [DEBUG] EvalApply: ProviderMeta config value set
2020/11/20 07:21:42 [DEBUG] windns.dns: applying the planned Create change
2020/11/20 07:21:42 [TRACE] GRPCProvider: ApplyResourceChange
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalMaybeTainted
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalWriteState
2020/11/20 07:21:43 [TRACE] EvalWriteState: recording 0 dependencies for windns.dns
2020/11/20 07:21:43 [TRACE] EvalWriteState: writing current state object for windns.dns
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalApplyProvisioners
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalMaybeTainted
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalWriteState
2020/11/20 07:21:43 [TRACE] EvalWriteState: recording 0 dependencies for windns.dns
2020/11/20 07:21:43 [TRACE] EvalWriteState: writing current state object for windns.dns
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalIf
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalIf
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalWriteDiff
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalApplyPost
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalUpdateStateHook
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: creating backup snapshot at terraform.tfstate.backup
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 60
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
windns.dns: Creation complete after 1s [id=bedfont.io_pwhitesi_testentry_1_A]
2020/11/20 07:21:43 [TRACE] [walkApply] Exiting eval tree: windns.dns
2020/11/20 07:21:43 [TRACE] vertex "windns.dns": visit complete
2020/11/20 07:21:43 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/portofportland/windns\"] (close)"
2020/11/20 07:21:43 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2020/11/20 07:21:43 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"] (close)": evaluating
2020/11/20 07:21:43 [TRACE] [walkApply] Entering eval tree: provider["registry.terraform.io/portofportland/windns"] (close)
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalCloseProvider
2020/11/20 07:21:43 [TRACE] GRPCProvider: Close
2020/11/20 07:21:43 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2020/11/20 07:21:43 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2020/11/20 07:21:43 [TRACE] vertex "meta.count-boundary (EachMode fixup)": evaluating
2020/11/20 07:21:43 [TRACE] [walkApply] Entering eval tree: meta.count-boundary (EachMode fixup)
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2020/11/20 07:21:43 [TRACE] [walkApply] Exiting eval tree: meta.count-boundary (EachMode fixup)
2020/11/20 07:21:43 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2020-11-20T07:21:43.619Z [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-11-20T07:21:43.620Z [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/portofportland/windns/0.5.1/linux_amd64/terraform-provider-windns_v0.5.1 pid=4894
2020-11-20T07:21:43.620Z [DEBUG] plugin: plugin exited
2020/11/20 07:21:43 [TRACE] [walkApply] Exiting eval tree: provider["registry.terraform.io/portofportland/windns"] (close)
2020/11/20 07:21:43 [TRACE] vertex "provider[\"registry.terraform.io/portofportland/windns\"] (close)": visit complete
2020/11/20 07:21:43 [TRACE] dag/walk: visiting "root"
2020/11/20 07:21:43 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2020/11/20 07:21:43 [TRACE] vertex "root": evaluating
2020/11/20 07:21:43 [TRACE] [walkApply] Entering eval tree: root
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalSequence
2020/11/20 07:21:43 [TRACE] eval: *terraform.EvalOpFilter
2020/11/20 07:21:43 [TRACE] eval: *terraform.evalCloseModule
2020/11/20 07:21:43 [TRACE] [walkApply] Exiting eval tree: root
2020/11/20 07:21:43 [TRACE] vertex "root": visit complete
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: have already backed up original terraform.tfstate to terraform.tfstate.backup on a previous write
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 61
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2020/11/20 07:21:43 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
yigit9194 commented 3 years ago

I tried with 0.5.1 and 0.5.0 version and same thing happenned

rayterrill commented 3 years ago

Can y'all try with the new version I just released that has a few bug fixes? If this is still not working, I'll add some additional debugging and we can step into what's not working.

rayterrill commented 3 years ago

Closing - please re-open if still an issue.