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

Start using terraform-plugin-sdk v1.0.0 #382

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

Didainius
Copy link
Collaborator

HashiCorp recently split the provider plugin from main Terraform repo.

This PR is to start using the new plugin early in 2.6 development cycle so that it is properly tested before release.

Note. Acceptance and binary tests passed successfully on at least one version of vCD which should be sufficient to prove it didn't break functionality.

@Didainius Didainius self-assigned this Oct 30, 2019
@ghost ghost added the size/XXL label Oct 30, 2019
@dataclouder
Copy link
Contributor

Is there any procedural change or deprecation we should be aware of?

Copy link
Contributor

@dataclouder dataclouder left a comment

Choose a reason for hiding this comment

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

LGTM. Tests pass on vCD 10.0

@Didainius
Copy link
Collaborator Author

Is there any procedural change or deprecation we should be aware of?

I have not yet noticed anything. Here's the quote from official site:

The first release of the standalone plugin SDK aims to keep nearly 100% backwards compatibility, aside from a handful of APIs, so only the imports within your provider need to be replaced.

Copy link
Contributor

@vbauzys vbauzys left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

Keeping the kitchen clean, nice!

Just one question: is there a measurable difference after the change in how much the provider imports (quite hard to tell from PR itself)?

@Didainius
Copy link
Collaborator Author

Keeping the kitchen clean, nice!

Just one question: is there a measurable difference after the change in how much the provider imports (quite hard to tell from PR itself)?

It is going down a bit:

# master
$ find vendor/ | wc -l
    2575
$ cat go.sum | wc -l
     492


# PR branch
$ find vendor/ | wc -l
    2510
$ cat go.sum | wc -l
     314

@Didainius Didainius merged commit 46779eb into vmware:master Oct 31, 2019
@Didainius Didainius deleted the sdk-plugin branch October 31, 2019 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants