Skip to content

Unable to set annotation to empty #1352

@pv2b

Description

@pv2b

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v1.4.6
on windows_amd64

  • provider registry.terraform.io/ciscodevnet/aci v2.16.0

APIC version and APIC Platform

  • V 6.0(7e) on-prem

Affected Resource(s)

  • aci_attachable_access_entity_profile

Terraform Configuration Files

terraform {
  required_providers {
    aci = {
      source = "CiscoDevNet/aci"
      version = "2.16.0"
    }
  }
}

provider "aci" {
  username = "REDACTED"
  password = "REDACTED"
  url      = "https://REDACTED/"
  insecure = true
}

resource "aci_attachable_access_entity_profile" "annotation_repro" {
    name                    = "aaep-annotation-test"
    annotation = ""
}

Debug Output

Panic Output

Expected Behavior

The aci_attachable_access_entity_profile object should be created with an empty annotation.

Actual Behavior

The aci_attachable_access_entity_profile object is created with the annotation "orchestrator:terraform".

Steps to Reproduce

  1. terraform apply
  2. Look at the object in the MIT and notice that the annotation is there

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions