-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Updating docs for cloud router resource and resource based on ma…
…rketplace subscription
- Loading branch information
1 parent
d1bcfbe
commit ec886cd
Showing
6 changed files
with
129 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
examples/resources/equinix_fabric_cloud_router/example_1.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
resource "equinix_fabric_cloud_router" "new_cloud_router"{ | ||
name = "Router-SV" | ||
type = "XF_ROUTER" | ||
notifications{ | ||
type = "ALL" | ||
emails = ["example@equinix.com","test1@equinix.com"] | ||
} | ||
order { | ||
purchase_order_number = "1-323292" | ||
} | ||
location { | ||
metro_code = "SV" | ||
} | ||
package { | ||
code = "STANDARD" | ||
} | ||
project { | ||
project_id = "776847000642406" | ||
} | ||
marketplace_subscription { | ||
type = "AWS_MARKETPLACE_SUBSCRIPTION" | ||
uuid = "2823b8ae07-a2a2-45b4-a658-c3542bb24e9" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "equinix_fabric_cloud_router Resource - terraform-provider-equinix" | ||
subcategory: "Fabric" | ||
description: |- | ||
Fabric V4 API compatible resource allows creation and management of Equinix Fabric Cloud Router | ||
--- | ||
|
||
{{/* This template serves as a starting point for documentation generation, and can be customized with hardcoded values and/or doc gen templates. | ||
|
||
For example, the {{ .SchemaMarkdown }} template can be used to replace manual schema documentation if descriptions of schema attributes are added in the provider source code. */ -}} | ||
|
||
# equinix_fabric_cloud_router (Resource) | ||
|
||
Fabric V4 API compatible resource allows creation and management of [Equinix Fabric Cloud Router](https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks). | ||
|
||
Additional documentation: | ||
* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks | ||
* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers | ||
|
||
## Example Usage | ||
|
||
Fabric Cloud Router | ||
{{tffile "examples/resources/equinix_fabric_cloud_router/example_1.tf"}} | ||
|
||
Fabric Cloud Router with Marketplace Subscription id | ||
{{tffile "examples/resources/equinix_fabric_cloud_router/example_2.tf"}} | ||
|
||
{{ .SchemaMarkdown | trimspace }} |