mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-03 01:01:06 +00:00
Add documentation for import in google_folder_organization_policy (#746)
* Remove import support for org policy * Add ForceNew to org_id field * Revert "Remove import support for org policy" This reverts commit f65d9fb347d6b0998be55ef823c5726e876c53ae. * Add import documentation for google_organization_policy
This commit is contained in:
parent
17ea5ea970
commit
aa63af1fc3
@ -22,6 +22,7 @@ func resourceGoogleOrganizationPolicy() *schema.Resource {
|
||||
"org_id": {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
},
|
||||
"constraint": {
|
||||
Type: schema.TypeString,
|
||||
|
@ -104,3 +104,10 @@ exported:
|
||||
* `etag` - (Computed) The etag of the organization policy. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.
|
||||
|
||||
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z".
|
||||
|
||||
## Import
|
||||
|
||||
Organization Policies can be imported using the `org_id` and the `contraint`, e.g.
|
||||
|
||||
```
|
||||
$ terraform import google_folder_organization_policy.services_policy 123456789:constraints/serviceuser.services
|
Loading…
Reference in New Issue
Block a user