File tree 4 files changed +26
-0
lines changed
4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -145,4 +145,13 @@ resource "sentry_issue_alert" "main" {
145
145
- ` internal_id ` (String) The internal ID for this issue alert.
146
146
- ` projects ` (List of String, Deprecated) Use ` project ` (singular) instead.
147
147
148
+ ## Import
148
149
150
+ Import is supported using the following syntax:
151
+
152
+ ``` shell
153
+ # import using the organization, project slugs and rule id from the URL:
154
+ # https://sentry.io/organizations/[org-slug]/projects/[project-slug]/
155
+ # https://sentry.io/organizations/[org-slug]/alerts/rules/details/[rule-id]/
156
+ terraform import sentry_issue_alert.default org-slug/project-slug/rule-id
157
+ ```
Original file line number Diff line number Diff line change @@ -100,4 +100,13 @@ Read-Only:
100
100
101
101
- ` id ` (String) The ID of this resource.
102
102
103
+ ## Import
103
104
105
+ Import is supported using the following syntax:
106
+
107
+ ``` shell
108
+ # import using the organization, project slugs and rule id from the URL:
109
+ # https://sentry.io/organizations/[org-slug]/projects/[project-slug]/
110
+ # https://sentry.io/organizations/[org-slug]/alerts/rules/details/[rule-id]/
111
+ terraform import sentry_metric_alert.default org-slug/project-slug/rule-id
112
+ ```
Original file line number Diff line number Diff line change
1
+ # import using the organization, project slugs and rule id from the URL:
2
+ # https://sentry.io/organizations/[org-slug]/projects/[project-slug]/
3
+ # https://sentry.io/organizations/[org-slug]/alerts/rules/details/[rule-id]/
4
+ terraform import sentry_issue_alert.default org-slug/project-slug/rule-id
Original file line number Diff line number Diff line change
1
+ # import using the organization, project slugs and rule id from the URL:
2
+ # https://sentry.io/organizations/[org-slug]/projects/[project-slug]/
3
+ # https://sentry.io/organizations/[org-slug]/alerts/rules/details/[rule-id]/
4
+ terraform import sentry_metric_alert.default org-slug/project-slug/rule-id
You can’t perform that action at this time.
0 commit comments