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

Fix wrong parameter name on sample code of google_organization_iam_policy #10115

Conversation

modular-magician
Copy link
Collaborator

Description

Got this error with the examples in document.
Argument should be org_id, but organization is specified in the document.

│ Error: Missing required argument
│
│   on organization_and_folders.tf line 5, in resource "google_organization_iam_policy" "test":
│    5: resource "google_organization_iam_policy" "test" {
│
│ The argument "org_id" is required, but no definition was found.
╵

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_organization_iam#google_organization_iam_policy

Also I confirmed in the code that org_id is correct argument.
https://github.com/hashicorp/terraform-provider-google/blob/master/google/provider.go#L1259
https://github.com/hashicorp/terraform-provider-google/blob/master/google/iam_organization.go#L10-L11

Derived from GoogleCloudPlatform/magic-modules#5216

@modular-magician modular-magician merged commit 6c01a19 into hashicorp:master Sep 21, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2021
@modular-magician modular-magician deleted the downstream-pr-be79c3bee64389aa9142ca5efd5c96970a8b7a76 branch November 17, 2024 02:52
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