Skip to content

feat(tdmysql): add tencentcloud_tdmysql_db_instance resource#4313

Open
iac-agent wants to merge 2 commits into
masterfrom
feat/add-tdmysql-db-instance-resource
Open

feat(tdmysql): add tencentcloud_tdmysql_db_instance resource#4313
iac-agent wants to merge 2 commits into
masterfrom
feat/add-tdmysql-db-instance-resource

Conversation

@iac-agent

Copy link
Copy Markdown
Collaborator

Add a new resource tencentcloud_tdmysql_db_instance to manage the full lifecycle of TDSQL-C for MySQL (tdmysql) instances.

Changes:

  • New resource tencentcloud_tdmysql_db_instance supporting CRUD operations (Create via CreateDBInstances with async flow polling, Read via DescribeDBInstanceDetail, Update instance name via ModifyInstanceName, Delete via IsolateDBInstance)
  • Register the new resource in tencentcloud/provider.go and add doc index entry in tencentcloud/provider.md
  • Add UseTdmysqlV20211122Client helper method and connection field in tencentcloud/connectivity/client.go
  • Add resource documentation resource_tc_tdmysql_db_instance.md
  • Add unit tests using gomonkey mock for Create/Read/Update/Delete
  • Vendor the tdmysql SDK package

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.

2 participants