Skip to content

Commit

Permalink
Add required_providers
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyuezhao authored and lhercot committed Apr 16, 2021
1 parent 29e6224 commit 82b72af
Show file tree
Hide file tree
Showing 49 changed files with 382 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ If you are building the provider, follow the instructions to [install it as a pl

ex.
```hcl
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}
#configure provider with your cisco aci credentials.
provider "aci" {
# cisco-aci user name
Expand Down
8 changes: 8 additions & 0 deletions examples/aci_epg_to_domain/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

#configure provider with your cisco aci credentials.
provider "aci" {
username = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/aci_epg_to_static_path/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/aci_test/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/aci_vmm/aci_resources/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/aci_vmm/vmware_resources/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "vsphere" {
user = var.vsphere_user
password = var.vsphere_password
Expand Down
8 changes: 8 additions & 0 deletions examples/all/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/ansible_parity_modules/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = "admin"
password = "ins3965!ins3965!"
Expand Down
8 changes: 8 additions & 0 deletions examples/app_profile/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/bd_dhcp_label/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/bridge_domain/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/client_end_point/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/cloud_apic/provider.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = "" # <APIC username>
password = "" # <APIC pwd>
Expand Down
9 changes: 9 additions & 0 deletions examples/cloud_ctx_profile/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}


provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/cloud_subnet/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/cloud_vpn_gateway/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/connection/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/contract/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/data_sources/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/demo_examples/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/dhcp_option_policy/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/dhcp_relay_policy/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/entry/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/epg/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/epg_to_contract/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/fc_policy/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/filter/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/function_node/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/import/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
8 changes: 8 additions & 0 deletions examples/imported_contract/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/inline_entry/entry_main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/l2_domain/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
7 changes: 7 additions & 0 deletions examples/l2_outside/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
Expand Down
Loading

0 comments on commit 82b72af

Please sign in to comment.