Skip to content

Commit

Permalink
Document grafana_cloud_access_policy import
Browse files Browse the repository at this point in the history
Closes #902
It's supported already, just not documented
  • Loading branch information
julienduchesne committed Jun 2, 2023
1 parent de4a60c commit 557d842
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 557d842

Please sign in to comment.