Skip to content

Commit bc16764

Browse files
authored
Apply review suggestion
1 parent a3b40dd commit bc16764

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

website/docs/r/prometheus_resource_policy.html.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ The following actions are supported in resource policies for Prometheus workspac
133133
* `aps:GetLabels` - Allows retrieving label names and values
134134
* `aps:GetMetricMetadata` - Allows retrieving metric metadata
135135

136+
## Notes
137+
138+
* Only Prometheus-compatible APIs can be used for workspace sharing. Non-Prometheus-compatible APIs added to the policy will be ignored.
139+
* If your workspace uses customer-managed KMS keys for encryption, you must grant the principals in your resource-based policy access to those KMS keys through KMS grants.
140+
* The resource ARN in the policy document must match the workspace ARN that the policy is being attached to.
141+
* Resource policies enable cross-account access and fine-grained permissions for Prometheus workspaces.
142+
136143
## Import
137144

138145
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import the Resource Policy using the workspace ID. For example:
@@ -157,10 +164,3 @@ Using `terraform import`, import AMP Resource Policies using the workspace ID. F
157164
- `create` - (Default `5m`)
158165
- `update` - (Default `5m`)
159166
- `delete` - (Default `5m`)
160-
161-
## Notes
162-
163-
* Only Prometheus-compatible APIs can be used for workspace sharing. Non-Prometheus-compatible APIs added to the policy will be ignored.
164-
* If your workspace uses customer-managed KMS keys for encryption, you must grant the principals in your resource-based policy access to those KMS keys through KMS grants.
165-
* The resource ARN in the policy document must match the workspace ARN that the policy is being attached to.
166-
* Resource policies enable cross-account access and fine-grained permissions for Prometheus workspaces.

0 commit comments

Comments
 (0)