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

Add support for yaml file to organization policy #627

Closed
c8w opened this issue Oct 24, 2017 · 4 comments
Closed

Add support for yaml file to organization policy #627

c8w opened this issue Oct 24, 2017 · 4 comments
Assignees
Labels
enhancement forward/review In review; remove label to forward service/orgpolicy

Comments

@c8w
Copy link

c8w commented Oct 24, 2017

The gcloud CLI command does allow this ability:
https://cloud.google.com/resource-manager/docs/organization-policy/quickstart-list-constraints
gcloud alpha resource-manager org-policies set-policy
--project [PROJECT_ID] /tmp/policy.yaml

References

GH-523 Add support for org policies at the organization level
This was added recently but does not support applying an org policy with a yaml file.

Affected Resource(s)

  • google_organization_policy
@danawillow
Copy link
Contributor

@srivasta

@srivasta
Copy link
Contributor

srivasta commented Nov 2, 2017

Update: Started looking at this

@srivasta srivasta self-assigned this Nov 10, 2017
srivasta added a commit to srivasta/terraform-provider-google that referenced this issue Dec 20, 2017
srivasta added a commit to srivasta/terraform-provider-google that referenced this issue Jan 8, 2018
srivasta added a commit to srivasta/terraform-provider-google that referenced this issue Jan 11, 2018
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
@paddycarver
Copy link
Contributor

At the moment, our policy is to specify things like this as HCL. If someone has a good reason for why this needs to be specified as YAML or why specifying this as YAML opens up new use cases for them, I'd love to hear it in a new issue.

@ghost
Copy link

ghost commented Mar 28, 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 28, 2020
@github-actions github-actions bot added forward/review In review; remove label to forward service/orgpolicy labels Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement forward/review In review; remove label to forward service/orgpolicy
Projects
None yet
Development

No branches or pull requests

4 participants