File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ func dataSourceAciNodeManagementEPg() *schema.Resource {
2828
2929 "management_profile_dn" : & schema.Schema {
3030 Type : schema .TypeString ,
31- Required : true ,
31+ Optional : true ,
32+ Default : "uni/tn-mgmt/mgmtp-default" ,
3233 },
3334
3435 "name" : & schema.Schema {
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ func resourceAciNodeManagementEPg() *schema.Resource {
4141
4242 "management_profile_dn" : & schema.Schema {
4343 Type : schema .TypeString ,
44- Required : true ,
45- ForceNew : true ,
44+ Optional : true ,
45+ Default : "uni/tn-mgmt/mgmtp-default" ,
4646 },
4747
4848 "name" : & schema.Schema {
Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ Data source for ACI Node Management EPg
1616
1717data "aci_node_mgmt_epg" "example" {
1818 type = "in_band"
19- management_profile_dn = "uni/tn-mgmt/mgmtp-default"
2019 name = "example"
2120}
2221
2322data "aci_node_mgmt_epg" "example" {
2423 type = "out_of_band"
25- management_profile_dn = "uni/tn-mgmt/mgmtp-default"
2624 name = "example"
2725}
2826
@@ -32,11 +30,12 @@ data "aci_node_mgmt_epg" "example" {
3230
3331- ` type ` - (Required) Type of node management EPg to be configured.
3432 Allowed values: "in_band", "out_of_band".
35- - ` management_profile_dn ` - (Required) Distinguished name of parent management profile object.
3633- ` name ` - (Required) Name of Object node management EPg.
3734
3835## Attribute Reference
3936
37+ - ` management_profile_dn ` - (Optional) Distinguished name of parent management profile object. Default value: "uni/tn-mgmt/mgmtp-default".
38+
4039### ` type = "in_band" `
4140
4241- ` id ` - Attribute id set to the Dn of the Node Management EPg.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ resource "aci_node_mgmt_epg" "out_of_band_example" {
4343
4444- ` type ` - (Required) Type of node management EPg to be configured.
4545 Allowed values: "in_band", "out_of_band".
46- - ` management_profile_dn ` - (Required ) Distinguished name of parent management profile object.
46+ - ` management_profile_dn ` - (Optional ) Distinguished name of parent management profile object. Default value: "uni/tn-mgmt/mgmtp-default" .
4747
4848### ` type = "in_band" `
4949
You can’t perform that action at this time.
0 commit comments