Skip to content

oci_devops_repository_ref asks to add tags #2435

@kocic11

Description

@kocic11

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

Terraform Version and Provider Version

Terraform v1.13.0
on darwin_arm64
+ provider registry.terraform.io/hashicorp/oci v7.15.0

Affected Resource(s)

oci_devops_repository_ref

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. 
# Please remove any sensitive information from configuration files before sharing them. 
resource oci_devops_repository_ref repository_ref {
  commit_id = "xxxxxxxxxxxxxxxx"
  ref_name      = "branch-name"
  ref_type      = "BRANCH"
  repository_id = oci_devops_repository.repo.id
}

Debug Output

https://gist.github.com/kocic11/1560b164c46ec1a39d02acb4f5a71667

Panic Output

Expected Behavior

The resource should not request the addition of both defined and free tags.

Actual Behavior

The resource is always prompting to make changes and add tags (even after they've been applied).

Steps to Reproduce

  1. terraform apply

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions