Skip to content

Commit

Permalink
Terraform format
Browse files Browse the repository at this point in the history
  • Loading branch information
vlandemaine-orange committed Feb 3, 2020
1 parent ab6a50c commit 51fe3d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions examples/multi-tenant/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ module "peering_main" {

providers = {
flexibleengine.requester = flexibleengine.tenant_xxx
flexibleengine.accepter = flexibleengine.tenant_main
flexibleengine.accepter = flexibleengine.tenant_main
}

peer_name = "peering-xxx"

vpc_req_name = "vpc-xxx"
vpc_req_name = "vpc-xxx"

vpc_acc_name = "vpc-main"
vpc_acc_name = "vpc-main"

req_subnet_cidr = [
"10.2.0.0/16"
Expand Down
8 changes: 4 additions & 4 deletions examples/multi-tenant/provider.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
provider "flexibleengine" {
alias = "tenant_xxx"
alias = "tenant_xxx"
domain_name = "xxxx"
tenant_name = "eu-west-0"
auth_url = "https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3"
region = "eu-west-0"
region = "eu-west-0"
}

provider "flexibleengine" {
alias = "tenant_main"
alias = "tenant_main"
domain_name = "xxxxx"
tenant_name = "eu-west-0"
auth_url = "https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3"
region = "eu-west-0"
region = "eu-west-0"
}
6 changes: 3 additions & 3 deletions examples/same-tenant/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ module "peering_main2" {

providers = {
flexibleengine.requester = flexibleengine.tenant_main
flexibleengine.accepter = flexibleengine.tenant_accepter
flexibleengine.accepter = flexibleengine.tenant_accepter
}

peer_name = "peering-test-22"

vpc_req_name = "vpc-test"
vpc_req_name = "vpc-test"

vpc_acc_name = "vpc-main"
vpc_acc_name = "vpc-main"

req_subnet_cidr = [
"10.1.0.0/16"
Expand Down
8 changes: 4 additions & 4 deletions examples/same-tenant/provider.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
provider "flexibleengine" {
alias = "tenant_main"
alias = "tenant_main"
domain_name = "xxxxx"
tenant_name = "eu-west-0"
auth_url = "https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3"
region = "eu-west-0"
region = "eu-west-0"
}

provider "flexibleengine" {
alias = "tenant_accepter"
alias = "tenant_accepter"
domain_name = "xxxx"
tenant_name = "eu-west-0"
auth_url = "https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3"
region = "eu-west-0"
region = "eu-west-0"
}

0 comments on commit 51fe3d8

Please sign in to comment.