Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong fabric schemas #688

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/data-sources/equinix_fabric_cloud_router.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ output "type" {
- `notifications` (List of Object) Preferences for notifications on Fabric Cloud Router configuration or status changes (see [below for nested schema](#nestedatt--notifications))
- `order` (Set of Object) Order information related to this Fabric Cloud Router (see [below for nested schema](#nestedatt--order))
- `package` (Set of Object) Fabric Cloud Router Package Type (see [below for nested schema](#nestedatt--package))
- `project` (Set of Object) Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects (see [below for nested schema](#nestedatt--project))
- `project` (Set of Object) Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects (see [below for nested schema](#nestedatt--project))
- `state` (String) Fabric Cloud Router overall state
- `type` (String) Defines the FCR type like; XF_ROUTER
- `type` (String) Defines the FCR type. One of [XF_ROUTER]

<a id="nestedatt--account"></a>
### Nested Schema for `account`
Expand Down Expand Up @@ -123,7 +123,6 @@ Read-Only:

Read-Only:

- `ibx` (String)
- `metro_code` (String)
- `metro_name` (String)
- `region` (String)
Expand Down Expand Up @@ -163,6 +162,6 @@ Read-Only:

Read-Only:

- `href` (String)
- `project_id` (String)


4 changes: 2 additions & 2 deletions docs/data-sources/equinix_fabric_cloud_routers.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ Read-Only:

Read-Only:

- `ibx` (String)
- `metro_code` (String)
- `metro_name` (String)
- `region` (String)
Expand Down Expand Up @@ -245,5 +244,6 @@ Read-Only:

Read-Only:

- `href` (String)
- `project_id` (String)


9 changes: 5 additions & 4 deletions docs/data-sources/equinix_fabric_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ output "access_point_provider_connection_id" {
- `project` (Set of Object) Project information (see [below for nested schema](#nestedatt--project))
- `redundancy` (Set of Object) Connection Redundancy Configuration (see [below for nested schema](#nestedatt--redundancy))
- `state` (String) Connection overall state
- `type` (String) Defines the connection type like EVPL_VC, EPL_VC, IPWAN_VC, IP_VC, ACCESS_EPL_VC, EVPLAN_VC, EPLAN_VC, EIA_VC, EC_VC
- `type` (String) Defines the connection type. One of [EVPL_VC EPL_VC EC_VC IP_VC ACCESS_EPL_VC EIA_VC EVPLAN_VC EPLAN_VC IPWAN_VC IA_VC]
- `z_side` (Set of Object) Destination or Provider side connection configuration object of the multi-segment connection (see [below for nested schema](#nestedatt--z_side))

<a id="nestedatt--a_side"></a>
Expand All @@ -134,7 +134,7 @@ Read-Only:

- `account` (Set of Object) (see [below for nested schema](#nestedobjatt--a_side--access_point--account))
- `authentication_key` (String)
- `gateway` (Set of Object, Deprecated) **Deprecated** `gateway` Use `router` attribute instead (see [below for nested schema](#nestedobjatt--a_side--access_point--gateway))
- `gateway` (Set of Object) (see [below for nested schema](#nestedobjatt--a_side--access_point--gateway))
- `interface` (Set of Object) (see [below for nested schema](#nestedobjatt--a_side--access_point--interface))
- `link_protocol` (Set of Object) (see [below for nested schema](#nestedobjatt--a_side--access_point--link_protocol))
- `location` (Set of Object) (see [below for nested schema](#nestedobjatt--a_side--access_point--location))
Expand Down Expand Up @@ -390,7 +390,6 @@ Read-Only:

Read-Only:

- `href` (String)
- `project_id` (String)


Expand Down Expand Up @@ -419,7 +418,7 @@ Read-Only:

- `account` (Set of Object) (see [below for nested schema](#nestedobjatt--z_side--access_point--account))
- `authentication_key` (String)
- `gateway` (Set of Object, Deprecated) **Deprecated** `gateway` Use `router` attribute instead (see [below for nested schema](#nestedobjatt--z_side--access_point--gateway))
- `gateway` (Set of Object) (see [below for nested schema](#nestedobjatt--z_side--access_point--gateway))
- `interface` (Set of Object) (see [below for nested schema](#nestedobjatt--z_side--access_point--interface))
- `link_protocol` (Set of Object) (see [below for nested schema](#nestedobjatt--z_side--access_point--link_protocol))
- `location` (Set of Object) (see [below for nested schema](#nestedobjatt--z_side--access_point--location))
Expand Down Expand Up @@ -580,3 +579,5 @@ Read-Only:
- `href` (String)
- `type` (String)
- `uuid` (String)


5 changes: 3 additions & 2 deletions docs/data-sources/equinix_fabric_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ output "region" {
- `notifications` (List of Object) Preferences for notifications on Fabric Network configuration or status changes (see [below for nested schema](#nestedatt--notifications))
- `operation` (Set of Object) Network operation information that is associated with this Fabric Network (see [below for nested schema](#nestedatt--operation))
- `project` (Set of Object) Fabric Network project (see [below for nested schema](#nestedatt--project))
- `scope` (String) Fabric Network scope
- `scope` (String) Fabric Network scope. One of [REGIONAL GLOBAL LOCAL]
- `state` (String) Fabric Network overall state
- `type` (String) Supported Network types - EVPLAN, EPLAN, IPWAN
- `type` (String) Supported Network types. One of [REGIONAL GLOBAL LOCAL]

<a id="nestedatt--change"></a>
### Nested Schema for `change`
Expand Down Expand Up @@ -130,3 +130,4 @@ Read-Only:

- `project_id` (String)


3 changes: 3 additions & 0 deletions docs/data-sources/equinix_fabric_port.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Read-Only:
- `global_organization_name` (String)
- `org_id` (Number)
- `organization_name` (String)
- `ucm_id` (String)


<a id="nestedatt--change_log"></a>
Expand Down Expand Up @@ -196,3 +197,5 @@ Read-Only:
- `enabled` (Boolean)
- `group` (String)
- `priority` (String)


3 changes: 3 additions & 0 deletions docs/data-sources/equinix_fabric_ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Read-Only:
- `global_organization_name` (String)
- `org_id` (Number)
- `organization_name` (String)
- `ucm_id` (String)


<a id="nestedobjatt--data--change_log"></a>
Expand Down Expand Up @@ -215,3 +216,5 @@ Read-Only:
- `enabled` (Boolean)
- `group` (String)
- `priority` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/equinix_fabric_routing_protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,5 @@ Read-Only:

- `property` (String)
- `reason` (String)


6 changes: 4 additions & 2 deletions docs/data-sources/equinix_fabric_service_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ output "allow_over_subscription" {
- `self_profile` (Boolean) Self Profile indicating if the profile is created for customer's self use
- `state` (String) Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED
- `tags` (List of String) Tags attached to the connection
- `type` (String) Service profile type - L2_PROFILE, L3_PROFILE, ECIA_PROFILE, ECMC_PROFILE
- `type` (String) Service profile type. One of [L2_PROFILE L3_PROFILE IA_PROFILE]
- `view_point` (String) Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide
- `virtual_devices` (List of Object) Virtual Devices (see [below for nested schema](#nestedatt--virtual_devices))
- `visibility` (String) Service profile visibility - PUBLIC, PRIVATE

Expand Down Expand Up @@ -270,7 +271,6 @@ Read-Only:

Read-Only:

- `href` (String)
- `project_id` (String)


Expand All @@ -293,3 +293,5 @@ Read-Only:
- `metro_code` (String)
- `metro_name` (String)
- `region` (String)


4 changes: 3 additions & 1 deletion docs/data-sources/equinix_fabric_service_profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Read-Only:
- `tags` (List of String)
- `type` (String)
- `uuid` (String)
- `view_point` (String)
- `virtual_devices` (List of Object) (see [below for nested schema](#nestedobjatt--data--virtual_devices))
- `visibility` (String)

Expand Down Expand Up @@ -303,7 +304,6 @@ Read-Only:

Read-Only:

- `href` (String)
- `project_id` (String)


Expand All @@ -326,3 +326,5 @@ Read-Only:
- `metro_code` (String)
- `metro_name` (String)
- `region` (String)


47 changes: 24 additions & 23 deletions docs/resources/equinix_fabric_cloud_router.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ resource "equinix_fabric_cloud_router" "new_cloud_router"{
- `notifications` (Block List, Min: 1) Preferences for notifications on Fabric Cloud Router configuration or status changes (see [below for nested schema](#nestedblock--notifications))
- `package` (Block Set, Min: 1, Max: 1) Fabric Cloud Router Package Type (see [below for nested schema](#nestedblock--package))
- `project` (Block Set, Min: 1, Max: 1) Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects (see [below for nested schema](#nestedblock--project))
- `type` (String) Defines the FCR type like; XF_ROUTER
- `type` (String) Defines the FCR type. One of [XF_ROUTER]

### Optional

- `description` (String) Customer-provided Fabric Cloud Router description
- `href` (String) Fabric Cloud Router URI information
- `order` (Block Set, Min: 1, Max: 1) Order information related to this Fabric Cloud Router (see [below for nested schema](#nestedblock--order))
- `order` (Block Set, Max: 1) Order information related to this Fabric Cloud Router (see [below for nested schema](#nestedblock--order))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `uuid` (String) Equinix-assigned Fabric Cloud Router identifier

Expand All @@ -78,18 +78,20 @@ resource "equinix_fabric_cloud_router" "new_cloud_router"{
<a id="nestedblock--account"></a>
### Nested Schema for `account`

Optional:
Required:

- `account_number` (Number) Account Number


<a id="nestedblock--location"></a>
### Nested Schema for `location`

Optional:
Required:

- `ibx` (String) IBX Code
- `metro_code` (String) Access point metro code

Read-Only:

- `metro_name` (String) Access point metro name
- `region` (String) Access point region

Expand All @@ -100,44 +102,43 @@ Optional:
Required:

- `emails` (List of String) Array of contact emails
- `type` (String) Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- `type` (String) Notification type. One of [NOTIFICATION BANDWIDTH_ALERT CONNECTION_APPROVAL PROFILE_LIFECYCLE ALL SALES_REP_NOTIFICATIONS]

Optional:

- `send_interval` (String) Send interval


<a id="nestedblock--order"></a>
### Nested Schema for `order`

Optional:

- `purchase_order_number` (String) Purchase order number

Read-Only:

- `billing_tier` (String) Billing tier for connection bandwidth
- `order_id` (String) Order Identification
- `order_number` (String) Order Reference Number


<a id="nestedblock--package"></a>
### Nested Schema for `package`

Required:

- `code` (String) Fabric Cloud Router package code
- `code` (String) Fabric Cloud Router package code. One of [LAB ADVANCED STANDARD PREMIUM]


<a id="nestedblock--project"></a>
### Nested Schema for `project`

Optional:
Required:

- `href` (String) Unique Resource URL
- `project_id` (String) Project Id


<a id="nestedblock--order"></a>
### Nested Schema for `order`

Optional:

- `purchase_order_number` (String) Purchase order number. Short name/number to identify this order on the invoice

Read-Only:

- `billing_tier` (String) Billing tier for connection bandwidth
- `order_id` (String) Order Identification
- `order_number` (String) Order Reference Number


<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Expand Down
Loading
Loading