Skip to content

Commit d9a904f

Browse files
anvitha-jainlhercot
authored andcommitted
Added missing provider and required_providers sections to examples
1 parent 9dda63e commit d9a904f

File tree

39 files changed

+353
-96
lines changed

39 files changed

+353
-96
lines changed

examples/bgp_address_family_context/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/bgp_best_path_policy/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
18

9+
#configure provider with your cisco aci credentials.
210
provider "aci" {
3-
username = ""
4-
password = ""
5-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
614
insecure = true
715
}
16+
817
resource "aci_bgp_best_path_policy" "foobgp_best_path_policy" {
918
tenant_dn = aci_tenant.example.id
1019
name = "example"

examples/bgp_peer_connectivity_profile/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/bgp_peer_prefix/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/bgp_route_control_profile/main.tf

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
16+
717
resource "aci_bgp_route_control_profile" "example" {
818
parent_dn = aci_tenant.tenentcheck.id
919
name = "one"

examples/bgp_route_summarization/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/bgp_timers/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/cloud_ctx_profile/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ terraform {
66
}
77
}
88

9-
109
provider "aci" {
1110
username = ""
1211
password = ""

examples/hsrp_group_policy/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

examples/hsrp_interface_policy/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
terraform {
2+
required_providers {
3+
aci = {
4+
source = "ciscodevnet/aci"
5+
}
6+
}
7+
}
8+
9+
#configure provider with your cisco aci credentials.
110
provider "aci" {
2-
username = ""
3-
password = ""
4-
url = ""
11+
username = "" # <APIC username>
12+
password = "" # <APIC pwd>
13+
url = "" # <cloud APIC URL>
514
insecure = true
615
}
716

0 commit comments

Comments
 (0)