tencent cloud

Tencent Infrastructure Automation for Terraform

Product Introduction
Overview
Strengths
Scenarios
Purchase Guide
Getting Started
Use Terraform in Local PC
User Guide
Configuration Guide
Syntax Guide
Resource List
Combination with DevOps
Code Management
Continuous Integration and Deployment
Use Cases
Deploying Cloud Native Service
Cross-Region Replication of Resources
Case Studies
Convertlab's IaC Practices Based on Tencent Cloud for Terraform
Provider Contributor Guide
Welcome
Contribute
Developer Reference
FAQs
Signature Error
Init Acceleration
Enabling Log Tracking
Managing Existing Resource
State Lock

Bug Fix or Enhancement

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-12-02 16:01:33
The provider requires continuous improvements and iteration. You can contribute your code to the repository in line with the minimal change principle, that is, implement only one enhancement or bug fix in each pull request to avoid large-scale or cross-feature code changes that can increase the test and review costs per time.

Checking the Code

Your merge request will trigger GitHub actions related to merge check, such as formatting, documentation generation, and acceptance test. When these checks are passed, we will review your code and give our feedback or directly merge it. Before the branch is pushed to the remote, you can execute these steps locally.

Setting the commit hook

Run make hooks in the directory of the local repository to install the dependencies of the formatting check and add pre-commit.sh to the commit hook.

Formatting the code

Run make fmt to format the go code and import order.

Syncing the documentation

Run make doc. Then, the ./gendoc script will parse and sync any change you made to ./website.

Writing an Acceptance Test

To ensure that your changes can work properly, you need to write acceptance test cases or add parameter assertions to existing cases to cover your changes. For detailed directions, see Writing Test Case. Testing paid resources will initiate the actual billing process. Or you can write test cases and have them executed by us.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan