-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
Port data schema implementation
There was a problem hiding this 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": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"cross_onnect_id": { | |
"cross_connect_id": { |
I assume this is a typo
func dataSourceFabricPort() *schema.Resource { | ||
return &schema.Resource{ | ||
ReadContext: dataSourceFabricPortRead, | ||
Schema: readFabricPortResourceSchema(), |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Computed: true, | |
Required: true, |
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 |
Port data schema implementation and Terraform Script - Create Connection example.
Part of #112