Skip to content

Commit 0f71c35

Browse files
[18856] update access policy documentation (#11264) (#18914)
[upstream:02b74bfdede041adc30fd0959f122f8987636515] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent 72ca8f0 commit 0f71c35

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.changelog/11264.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/accesscontextmanager/resource_access_context_manager_access_policy.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func ResourceAccessContextManagerAccessPolicy() *schema.Resource {
5454
Required: true,
5555
ForceNew: true,
5656
Description: `The parent of this AccessPolicy in the Cloud Resource Hierarchy.
57-
Format: organizations/{organization_id}`,
57+
Format: 'organizations/{{organization_id}}'`,
5858
},
5959
"title": {
6060
Type: schema.TypeString,
@@ -65,7 +65,7 @@ Format: organizations/{organization_id}`,
6565
Type: schema.TypeList,
6666
Optional: true,
6767
Description: `Folder or project on which this policy is applicable.
68-
Format: folders/{{folder_id}} or projects/{{project_id}}`,
68+
Format: 'folders/{{folder_id}}' or 'projects/{{project_number}}'`,
6969
MaxItems: 1,
7070
Elem: &schema.Schema{
7171
Type: schema.TypeString,
@@ -79,7 +79,7 @@ Format: folders/{{folder_id}} or projects/{{project_id}}`,
7979
"name": {
8080
Type: schema.TypeString,
8181
Computed: true,
82-
Description: `Resource name of the AccessPolicy. Format: {policy_id}`,
82+
Description: `Resource name of the AccessPolicy. Format: '{{policy_id}}'`,
8383
},
8484
"update_time": {
8585
Type: schema.TypeString,

website/docs/r/access_context_manager_access_policy.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The following arguments are supported:
7474
* `parent` -
7575
(Required)
7676
The parent of this AccessPolicy in the Cloud Resource Hierarchy.
77-
Format: organizations/{organization_id}
77+
Format: 'organizations/{{organization_id}}'
7878

7979
* `title` -
8080
(Required)
@@ -87,7 +87,7 @@ The following arguments are supported:
8787
* `scopes` -
8888
(Optional)
8989
Folder or project on which this policy is applicable.
90-
Format: folders/{{folder_id}} or projects/{{project_id}}
90+
Format: 'folders/{{folder_id}}' or 'projects/{{project_number}}'
9191

9292

9393
## Attributes Reference
@@ -97,7 +97,7 @@ In addition to the arguments listed above, the following computed attributes are
9797
* `id` - an identifier for the resource with format `{{name}}`
9898

9999
* `name` -
100-
Resource name of the AccessPolicy. Format: {policy_id}
100+
Resource name of the AccessPolicy. Format: '{{policy_id}}'
101101

102102
* `create_time` -
103103
Time the AccessPolicy was created in UTC.

0 commit comments

Comments
 (0)