Skip to content

Commit 92dae17

Browse files
committed
Fix for disable of import in budgets
1 parent 0afadac commit 92dae17

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

oci/budget_alert_rule_resource.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import (
1212

1313
func BudgetAlertRuleResource() *schema.Resource {
1414
return &schema.Resource{
15-
Importer: &schema.ResourceImporter{
16-
State: schema.ImportStatePassthrough,
17-
},
1815
Timeouts: DefaultTimeout,
1916
Create: createBudgetAlertRule,
2017
Read: readBudgetAlertRule,

oci/budget_alert_rule_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ func TestBudgetAlertRuleResource_basic(t *testing.T) {
209209
resource.TestCheckResourceAttrSet(singularDatasourceName, "version"),
210210
),
211211
},
212-
// remove singular datasource from previous step so that it doesn't conflict with import tests
213-
{
214-
Config: config + compartmentIdVariableStr + AlertRuleResourceConfig,
215-
},
216212
},
217213
})
218214
}

website/docs/r/budget_alert_rule.html.markdown

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,3 @@ The following attributes are exported:
7171
* `type` - ACTUAL means the alert will trigger based on actual usage. FORECAST means the alert will trigger based on predicted usage.
7272
* `version` - Version of the alert rule. Starts from 1 and increments by 1.
7373

74-
## Import
75-
76-
AlertRules can not currently be imported.

0 commit comments

Comments
 (0)