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

Change provider package path so make build succeeds. #3

Closed
wants to merge 1 commit into from

Conversation

rileykarson
Copy link
Collaborator

Before:

$ make build
==> Checking that code complies with gofmt requirements...
go install
main.go:5:2: cannot find package "github.com/terraform-providers/hashicorp/google" in any of:
	<scrubbed>/go/src/github.com/hashicorp/terraform-provider-google/vendor/github.com/terraform-providers/hashicorp/google (vendor tree)
	/usr/lib/google-golang/src/github.com/terraform-providers/hashicorp/google (from $GOROOT)
	<scrubbed>/go/src/github.com/terraform-providers/hashicorp/google (from $GOPATH)
make: *** [build] Error 1

After:

$ make build
==> Checking that code complies with gofmt requirements...
go install

…with gofmt requirements...

go install succeeds.
danawillow pushed a commit that referenced this pull request Jan 10, 2018
* Initial commit

* Adding google_cloudfunction_function resource

* Some FMT updates

* Working Cloud Function Create/Delete/Get
Create is limited to gs:// source now.

* Fixed tests import

* Terraform now is able to apply and destroy function

* Fully working Basic test

* Added:
1. Allowed region check
2. readTimeout helper

* Found better solution for conflicting values

* Adding description

* Adding full basic test

* dded Update functionality

* Made few more optional params

* Added test for Labels

* Added update tests

* Added storage_* members and made function source deploy from storage bucket object

* Adding comments

* Adding tests for PubSub

* Adding tests for Bucket

* Adding Data provider

* Fixing bug which allowed to miss error

* Amending Operation retrieval

* Fixing vet errors and vendoring cloudfunctions/v1

* Fixing according to comments

* Fixing according to comments round #2

* Fixing tabs to space

* Fixing tabs to space and some comments #3

* Re-done update to include labels in one update with others

* Adding back default values. In case of such scenario, when user creates function with some values for "timeout" or "available_memory_mb", and then disables those attributes. Terraform plan then gives:
No changes. Infrastructure is up-to-date.
This is an error. By adding const we would avoid this error.

* Fixed MixedCase and more tabs
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
…_deprecate

Deprecate container_cluster.private_cluster.
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
…_deprecate

Deprecate container_cluster.private_cluster.
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant