Skip to content

fix: Provider showing unwanted changes after plan on xray_security_policy resources after provider upgrade to 3.0.6#380

Open
srinivasgowda097 wants to merge 14 commits intomainfrom
fix/GH-330-provider-showing-unwanted-changes-after-plan-on-x
Open

fix: Provider showing unwanted changes after plan on xray_security_policy resources after provider upgrade to 3.0.6#380
srinivasgowda097 wants to merge 14 commits intomainfrom
fix/GH-330-provider-showing-unwanted-changes-after-plan-on-x

Conversation

@srinivasgowda097
Copy link
Copy Markdown
Member

Fix: Provider showing unwanted changes after plan on xray_security_policy resources after provider upgrade to 3.0.6

Closes #330

Issue Details

Affected Resources

  • xray_security_policy
  • xray_artifacts_scan
  • xray_binary_manager_builds
  • xray_binary_manager_release_bundle_v2
  • xray_binary_manager_repos
  • xray_curation_policy
  • xray_custom_curation_condition
  • xray_custom_issue
  • xray_ignore_rule
  • xray_repository_config
  • xray_settings
  • xray_watch
  • xray_webhook
  • xray_workers_count

Files Changed

  • pkg/xray/resource/resource_xray_security_policy.go
  • pkg/xray/resource/resource_xray_binary_manager_builds.go
  • pkg/xray/resource/resource_xray_binary_manager_release_bundle_v2.go
  • pkg/xray/resource/resource_xray_binary_manager_repos.go
  • pkg/xray/resource/resource_xray_curation_policy.go
  • pkg/xray/resource/resource_xray_custom_curation_condition.go
  • pkg/xray/resource/resource_xray_custom_issue.go
  • pkg/xray/resource/resource_xray_ignore_rule.go
  • pkg/xray/resource/resource_xray_repository_config.go
  • pkg/xray/resource/resource_xray_settings.go
  • pkg/xray/resource/resource_xray_watch.go
  • pkg/xray/resource/resource_xray_webhook.go
  • pkg/xray/resource/resource_xray_workers_count.go
  • CHANGELOG.md

Root Cause

  • API exists but is not yet implemented in the provider
  • Run: ./sync-agent -provider inspect to check API coverage

Fix Approach

    1. Use terraform-provider-feature skill to add the new resource
    1. Run: ./sync-agent -provider -api "" inspect
    1. Generate CRUD skeleton from Help Center API spec
    1. Update CHANGELOG.md with fix entry

Changelog

## 3.2.0 (February 24, 2026)

FEATURES:

* **New Data Source:** `xray_security_policy` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_artifacts_scan` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_binary_manager_builds` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_binary_manager_release_bundle_v2` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_binary_manager_repos` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_curation_policy` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_custom_curation_condition` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_custom_issue` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_ignore_rule` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_repository_config` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_settings` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_watch` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_webhook` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)
* **New Data Source:** `xray_workers_count` Issue: [#330](https://github.com/jfrog/terraform-provider-xray/issues/330)

Test Plan

  • go build ./... passes
  • Acceptance tests pass
  • No state drift after apply + plan
  • Import test verifies no diff

Auto-generated by terraform-provider-sync-agent

…olicy.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…ager_builds.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…ager_release_bundle_v2.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…ager_repos.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…olicy.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…ation_condition.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…ue.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…e.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…_config.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
GH-330-provider-showing-unwanted-changes-after-plan-on-x)
…unt.go (GH-330-provider-showing-unwanted-changes-after-plan-on-x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provider showing unwanted changes after plan on xray_security_policy resources after provider upgrade to 3.0.6

1 participant