Skip to content

Set owner (SVM) when importing security_account resource#460

Merged
suhasbshekar merged 3 commits intoNetApp:release-2.2from
acch:457-import-security_account
Apr 8, 2025
Merged

Set owner (SVM) when importing security_account resource#460
suhasbshekar merged 3 commits intoNetApp:release-2.2from
acch:457-import-security_account

Conversation

@acch
Copy link
Copy Markdown
Contributor

@acch acch commented Mar 31, 2025

Fixes error importing security_account resource if same account exists on multiple SVMs

Closes #457.

Acceptance tests pass:

$ TF_ACC=1 go test ./internal/provider/security/security_account_resource_test.go -v
=== RUN   TestAccSecurityAccountResource
--- PASS: TestAccSecurityAccountResource (2.30s)
PASS
ok      command-line-arguments  2.314s
$ TF_ACC=1 go test ./internal/provider/security/security_account_resource_alias_test.go -v
=== RUN   TestAccSecurityAccountResourceAlias
--- PASS: TestAccSecurityAccountResourceAlias (2.28s)
PASS
ok      command-line-arguments  2.291s

@suhasbshekar
Copy link
Copy Markdown
Contributor

Please rebase here as well to get latest changes to github actions.
Changes are looking good

acch added 2 commits April 4, 2025 06:34
Signed-off-by: Achim Christ <achim.christ@sva.de>
Signed-off-by: Achim Christ <achim.christ@sva.de>
@acch acch force-pushed the 457-import-security_account branch from 9b037ba to 5f1916f Compare April 4, 2025 06:36
@acch
Copy link
Copy Markdown
Contributor Author

acch commented Apr 4, 2025

Thanks for your review @suhasbshekar - I've rebased to release-2.2, and standardized on SVM name.

Please let me know what's missing.

Signed-off-by: Achim Christ <achim.christ@sva.de>
@acch acch force-pushed the 457-import-security_account branch from 87a74b1 to f5bd7e6 Compare April 4, 2025 06:43
@suhasbshekar suhasbshekar merged commit 2826569 into NetApp:release-2.2 Apr 8, 2025
8 of 10 checks passed
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.

[Bug]: Error importing security_account resource if same account exists on multiple SVMs

2 participants