Skip to content

Commit

Permalink
style: Changing ibm example folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
srushti-patl committed Oct 30, 2023
1 parent 650b27b commit 75f412e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ECX Fabric Layer2 Redundant Connection to IBM 2.0
# ECX Fabric Layer2 Redundant Connection to IBM 2

This example shows how to create Layer 2 Connection between ECX Fabric ports and IBM 2.0 Cloud.
This example shows how to create Layer 2 Connection between ECX Fabric ports and IBM2 Cloud.

## Adjust variables

Expand Down Expand Up @@ -36,17 +36,17 @@ Log in to IBM portal with an account that has permission to create necessary res

## Initialize
- First step is to initialize the terraform directory/resource we are going to work on.
In the given example, the folder to perform CRUD operations for port2ibm2.0 redundant connections can be found at examples/fabric/v4/portConnectivity/ibm/ibm2.0.
In the given example, the folder to perform CRUD operations for port2ibm2 redundant connections can be found at examples/fabric/v4/portConnectivity/ibm/ibm2.

- Change directory into - `CD examples/fabric/v4/portConnectivity/ibm/ibm2.0`
- Change directory into - `CD examples/fabric/v4/portConnectivity/ibm/ibm2`
- Initialize Terraform plugins - `terraform init`

## Port to IBM 2.0 connection : Create, Read, Update and Delete(CRUD) operations
## Port to IBM2 connection : Create, Read, Update and Delete(CRUD) operations
Note: `–auto-approve` command does not prompt the user for validating the applying config. Remove it to get a prompt to confirm the operation.

| Operation | Command | Description |
|:----------|:---------------------------------:|---------------------------------------------------------------------------:|
| CREATE | `terraform apply –auto-approve` | Creates a port2ibm2.0 connection resources |
| READ | `terraform show` | Reads/Shows the current state of the port2ibm2.0 connection resources |
| CREATE | `terraform apply –auto-approve` | Creates a port2ibm2 connection resources |
| READ | `terraform show` | Reads/Shows the current state of the port2ibm2 connection resources |
| UPDATE | `terraform apply -refresh` | Updates the connections with values provided in the terraform.tfvars file |
| DELETE | `terraform destroy –auto-approve` | Deletes the created port2ibm2.0 connection resources |
| DELETE | `terraform destroy –auto-approve` | Deletes the created port2ibm2 connection resources |
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
equinix_client_id = "MyEquinixClientId"
equinix_client_secret = "MyEquinixClientSecret"

connection_name = "Terra_Port2IBM2.0"
connection_name = "Terra_Port2IBM2"
connection_type = "EVPL_VC"
notifications_type = "ALL"
notifications_emails = ["example@equinix.com"]
Expand Down
2 changes: 1 addition & 1 deletion tests/connection_e2e_ibm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func TestIBMCreateConnection(t *testing.T) {
// retryable errors in terraform testing.
terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
TerraformDir: "../examples/fabric/v4/portConnectivity/ibm/ibm2.0",
TerraformDir: "../examples/fabric/v4/portConnectivity/ibm/ibm2",
})

defer terraform.Destroy(t, terraformOptions)
Expand Down

0 comments on commit 75f412e

Please sign in to comment.