-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Clean up IAM Scopes in the documentation #4321
Clean up IAM Scopes in the documentation #4321
Conversation
Fork Update
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @melinath, please review this PR or find an appropriate assignee. |
This issue should be closed hashicorp/terraform-provider-google#1943 |
@@ -10,8 +10,6 @@ import ( | |||
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform" | |||
) | |||
<% | |||
# raise 'skip_import_test should be true if resource is not importable' \ |
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.
Follow up from #4273
@rileykarson while i'm cleaning up legacy scopes, can i remove compute, devstorage and clouddns in a minor release from the snippet below given that cloud-platform supercedes them? |
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.
@upodroid: Can you file an issue? I don't want to change the declared list of scopes outside of a major version, particularly if we're removing any.
"https://www.googleapis.com/auth/cloud-platform" | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Example Usage - with the default node pool |
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.
drive-by: This + the node pool example being removed are intentional and should be kept, even if they don't fit the best practices for configuring the resource. While we'd prefer users configure resources using the recommended setups, I'd rather we provide clear documentation on what alternatives look like vs forcing users to experiment themselves.
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.
I'll revert this change for both resources.
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.
The GKE resource is such a mess. There are so many open breaking change issues for it.
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.
It's a busy resource!
Co-authored-by: upodroid <cy@borg.dev>
9514712
to
d57350e
Compare
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.
LGTM for the most part - I have a few questions, and one suggested change to the new standard language explaining service account usage.
third_party/terraform/website/docs/r/composer_environment.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/compute_instance.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/compute_instance_template.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/container_cluster.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/container_node_pool.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/container_node_pool.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/container_node_pool.html.markdown
Outdated
Show resolved
Hide resolved
third_party/terraform/website/docs/r/dataproc_cluster.html.markdown
Outdated
Show resolved
Hide resolved
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.
lgtm - thanks!
@upodroid I ran into an issue where using the service account names in the new documentation causes an error because of the use of
|
Hmm, which example was that? |
nvm, underscores are illegal in service account names |
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)