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

Make provider useful #23

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Make provider useful #23

wants to merge 7 commits into from

Conversation

thereisnotime
Copy link

Right now there is no way of getting data after user creation. Please merge this...

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

func dataSourceUserKeys() *schema.Resource {
Copy link
Owner

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 {
Copy link
Owner

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 {
Copy link
Owner

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?

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.

3 participants