Skip to content

Commit

Permalink
revert the test to use class_id instead of ClassId in additional prop…
Browse files Browse the repository at this point in the history
…erties (#278)

* adds required property

* adds required property

* adds ClassId as additional property

* adds ClassId as additional property

* fix examples to add class_id natively
  • Loading branch information
vvb authored Aug 3, 2024
1 parent ca41798 commit 52714bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/only_post/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,16 @@ resource "intersight_server_profile_template" "template1" {

resource "intersight_bulk_mo_cloner" "clone_server1"{
sources {
class_id = "server.ProfileTemplate"
object_type = "server.ProfileTemplate"
moid = intersight_server_profile_template.template1.moid
additional_properties = jsonencode({
ClassId = "server.ProfileTemplate"
})
}
targets {
class_id = "server.Profile"
object_type = "server.Profile"
additional_properties = jsonencode({
Name = "demotesting_DERIVED-4"
Description = "Sample description"
ClassId = "server.Profile"
})
tags = []
}
Expand Down

0 comments on commit 52714bb

Please sign in to comment.