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

adding new resource to allow iam bindings on GCE instances #3551

Merged

Conversation

reechar-goog
Copy link
Contributor

@reechar-goog reechar-goog commented May 3, 2019

This PR address issue: #3343

Should this also/instead be a PR against magic modules?

@ghost ghost added the size/xl label May 3, 2019
@rileykarson
Copy link
Collaborator

Hey @reechar-goog! MM is the primary home for the codebase, and this repo is basically a read replica. We mirror most contributions back to MM to lower the barrier to contributing; we have a script that should mirror this easily once review is done, so keeping it here is fine.

@slevenick do you want to take a crack at review on this? Feel free to assign back to me if you don't have the cycles.

@rileykarson rileykarson requested a review from slevenick May 3, 2019 22:11
@reechar-goog
Copy link
Contributor Author

@rileykarson got, it, thanks! I have one more feature that I plan on contributing, but its currently beta only, so I'll target that one towards MM.

Copy link
Collaborator

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Looks good to me other than the spacing issues in the terraform config in the test file

Thanks for the addition!

I'll upstream this after changes to make it generate both here and in the beta provider

google/resource_compute_instance_iam_test.go Outdated Show resolved Hide resolved
fixing whitespace/tabbing issue
@reechar-goog
Copy link
Contributor Author

@slevenick spacing issue addressed, Thanks for the review, let me know if you need anything else!

@slevenick
Copy link
Collaborator

@reechar-goog Looks like we will need documentation for this resource as well. Could you add documentation similar to https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/google_service_account_iam.html.markdown

As well as a link to that documentation that will appear on the website?
That would go here: https://github.com/terraform-providers/terraform-provider-google/blob/master/website/google.erb

@reechar-goog
Copy link
Contributor Author

@slevenick got it, will do, I'll work on that this afternoon and have something in a few hours

@ghost ghost added the documentation label May 6, 2019
@reechar-goog
Copy link
Contributor Author

@slevenick ready for review

Copy link
Collaborator

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Mostly spacing/docs comments. Looks good after that!

website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
google/resource_compute_instance_iam_test.go Outdated Show resolved Hide resolved
@reechar-goog
Copy link
Contributor Author

@slevenick hey sorry for all the spacing issues, finally got all my local tools set up and I have a better understanding of how to use them. I also reduced the tests so that they're more targeted towards what needs to be tested. Got the feedback from @rileykarson on another PR I'm working on.

Copy link
Collaborator

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Looks good pending minor docs updates. When those are fixed I'll upstream this to MM

website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
website/docs/r/compute_instance_iam.html.markdown Outdated Show resolved Hide resolved
@slevenick slevenick merged commit a03be94 into hashicorp:master May 8, 2019
@ghost
Copy link

ghost commented Jun 8, 2019

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 Jun 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants