-
Notifications
You must be signed in to change notification settings - Fork 21
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
Make provider useful #23
base: master
Are you sure you want to change the base?
Conversation
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" | ||
) | ||
|
||
func dataSourceUserKeys() *schema.Resource { |
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.
Add tests for this datasource to make sure that it works
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" | ||
) | ||
|
||
func dataSourceUserKeyUrls() *schema.Resource { |
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.
Add tests for this datasource to make sure that it works
@@ -32,3 +37,47 @@ type PortForwarding struct { | |||
Protocol string `json:"protocol"` | |||
Port string `json:"port"` | |||
} | |||
|
|||
// Pin encodes a pin code which can be set or not set, as well as known or unknown. | |||
type Pin struct { |
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.
How about move this struct into pin.go file in the same package?
Right now there is no way of getting data after user creation. Please merge this...