Skip to content

Commit e5b9719

Browse files
committed
Fix tests
1 parent bd5b88c commit e5b9719

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

internal/service/amp/service_package_gen.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docs/r/prometheus_resource_policy.html.markdown

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ This resource supports the following arguments:
112112
* `workspace_id` - (Required) The ID of the workspace to attach the resource-based policy to.
113113
* `policy_document` - (Required) The JSON policy document to use as the resource-based policy. This policy defines the permissions that other AWS accounts or services have to access your workspace.
114114

115+
The following arguments are optional:
116+
117+
* `region` - (Optional) Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference).
118+
115119
## Attribute Reference
116120

117121
In addition to all arguments above, the following attributes are exported:
@@ -159,4 +163,4 @@ Using `terraform import`, import AMP Resource Policies using the workspace ID. F
159163
* Only Prometheus-compatible APIs can be used for workspace sharing. Non-Prometheus-compatible APIs added to the policy will be ignored.
160164
* 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.
161165
* The resource ARN in the policy document must match the workspace ARN that the policy is being attached to.
162-
* Resource policies enable cross-account access and fine-grained permissions for Prometheus workspaces.
166+
* Resource policies enable cross-account access and fine-grained permissions for Prometheus workspaces.

0 commit comments

Comments
 (0)