Skip to content

Commit

Permalink
Document grafana_cloud_access_policy import (#924)
Browse files Browse the repository at this point in the history
Closes #902
It's supported already, just not documented
  • Loading branch information
julienduchesne authored Jun 12, 2023
1 parent eb13e5c commit 12177f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/resources/cloud_access_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,10 @@ Required:

- `selector` (String) The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.

## Import

Import is supported using the following syntax:

```shell
terraform import grafana_cloud_access_policy.policyname {{region}}/{{policy_id}}
```
1 change: 1 addition & 0 deletions examples/resources/grafana_cloud_access_policy/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import grafana_cloud_access_policy.policyname {{region}}/{{policy_id}}

0 comments on commit 12177f0

Please sign in to comment.