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

Fabric v4 - Port data schema implementation and Terraform Script - Create Connection example #232

Closed
wants to merge 1 commit into from

Conversation

syedluri
Copy link
Contributor

@syedluri syedluri commented Jul 27, 2022

Port data schema implementation and Terraform Script - Create Connection example.

Part of #112

Port data schema implementation
@displague displague changed the title Port data schema implementation and Terraform Script - Create Connection example Fabric v4 - Port data schema implementation and Terraform Script - Create Connection example Jul 27, 2022
@displague displague mentioned this pull request Jul 27, 2022
43 tasks
Copy link
Member

@displague displague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing the commit that introduces the provider resource and datasource definition. equinix/provider.go

We'll also want func resourceFabricPort() *schema.Resource { return &schema.Resource{ ...

I think we can leave Create/Update/Delete unimplemented if we want to merge early and iterate from there.


func readFabricPortTether() map[string]*schema.Schema {
return map[string]*schema.Schema{
"cross_onnect_id": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"cross_onnect_id": {
"cross_connect_id": {

I assume this is a typo

func dataSourceFabricPort() *schema.Resource {
return &schema.Resource{
ReadContext: dataSourceFabricPortRead,
Schema: readFabricPortResourceSchema(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this schema Computed?

},
"uuid": {
Type: schema.TypeString,
Computed: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Computed: true,
Required: true,

@syedluri
Copy link
Contributor Author

I shared files offline with developer. we will also create a separate repo for our internal collaboration, after we finish all the development, testing, and review we will create a single PR into master or fabric-v4

@syedluri syedluri closed this Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants