Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testcase: Adds a new test case for resource alicloud_db_instance #4453

Merged
merged 1 commit into from Jan 24, 2022

Conversation

thisnihonglei
Copy link
Contributor

No description provided.

@thisnihonglei thisnihonglei force-pushed the rdsdbinstance branch 2 times, most recently from 210cb73 to 6dcbe45 Compare January 1, 2022 19:38
@@ -1364,7 +1365,8 @@ func resourceAlicloudDBInstanceDelete(d *schema.ResourceData, meta interface{})
return WrapError(err)
}
if PayType(instance["PayType"].(string)) == Prepaid {
return WrapError(Error("At present, 'Prepaid' instance cannot be deleted and must wait it to be expired and release it automatically."))
log.Printf("[WARN] Cannot destroy Subscription resource: alicloud_nat_gateway. Terraform will remove this resource from the state file, however resources may remain.")
return nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个资源不是 alicloud_nat_gateway

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外,对应的文档也得改成统一的那种提醒方式

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants