File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This data source can retrieve one or more attributes via YANG paths.
1414
1515``` terraform
1616data "iosxe_yang" "example" {
17- path = "Cisco-IOS-XE-native:native/banner/login"
17+ path = "/ Cisco-IOS-XE-native:native/banner/login"
1818}
1919```
2020
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ Manages IOS-XE objects via YANG paths. This resource can only manage a single ob
1414
1515``` terraform
1616resource "iosxe_yang" "simple" {
17- path = "Cisco-IOS-XE-native:native/banner/login"
17+ path = "/ Cisco-IOS-XE-native:native/banner/login"
1818 attributes = {
1919 banner = "My Banner"
2020 }
2121}
2222
2323resource "iosxe_yang" "nested_list" {
24- path = "Cisco-IOS-XE-native:native/ip"
24+ path = "/ Cisco-IOS-XE-native:native/ip"
2525 attributes = {
2626 source-route = "true"
2727 }
@@ -75,5 +75,5 @@ Import is supported using the following syntax:
7575The [ ` terraform import ` command] ( https://developer.hashicorp.com/terraform/cli/commands/import ) can be used, for example:
7676
7777``` shell
78- terraform import iosxe_yang.example " Cisco-IOS-XE-native:native/banner/login"
78+ terraform import iosxe_yang.example " / Cisco-IOS-XE-native:native/banner/login"
7979```
Original file line number Diff line number Diff line change 11data "iosxe_yang" "example" {
2- path = " Cisco-IOS-XE-native:native/banner/login"
2+ path = " / Cisco-IOS-XE-native:native/banner/login"
33}
Original file line number Diff line number Diff line change 1- terraform import iosxe_yang.example " Cisco-IOS-XE-native:native/banner/login"
1+ terraform import iosxe_yang.example " / Cisco-IOS-XE-native:native/banner/login"
Original file line number Diff line number Diff line change 11resource "iosxe_yang" "simple" {
2- path = " Cisco-IOS-XE-native:native/banner/login"
2+ path = " / Cisco-IOS-XE-native:native/banner/login"
33 attributes = {
44 banner = " My Banner"
55 }
66}
77
88resource "iosxe_yang" "nested_list" {
9- path = " Cisco-IOS-XE-native:native/ip"
9+ path = " / Cisco-IOS-XE-native:native/ip"
1010 attributes = {
1111 source-route = " true"
1212 }
You can’t perform that action at this time.
0 commit comments