Skip to content

GAR panic: interface {} is nil, not map[string]interface when modifying cleanup_policies #22170

Open
@AbelHristodor

Description

@AbelHristodor

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 me too comments, 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.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform v1.8.4
on terraform Cloud

  • provider registry.terraform.io/hashicorp/google v6.27.0

Affected Resource(s)

google_artifact_registry_repository

Terraform Configuration

Image

Image

Debug Output

https://gist.github.com/AbelHristodor/b27542b707cb68dd5e8dd3e7322fe844

Expected Behavior

The apply should work

Actual Behavior

The terraform plugin panics preventing all other changes to be applied.

Steps to reproduce

  1. terraform apply

Important Factoids

No response

References

No response

b/408032584

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions