{"id":35863505,"url":"https://github.com/volcengine/terraform-provider-volcenginecc","last_synced_at":"2026-04-02T19:45:17.019Z","repository":{"id":305989183,"uuid":"1016440367","full_name":"volcengine/terraform-provider-volcenginecc","owner":"volcengine","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-30T12:57:59.000Z","size":4853,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T14:40:30.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/volcengine.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-09T02:55:54.000Z","updated_at":"2026-03-30T12:57:49.000Z","dependencies_parsed_at":"2025-09-29T04:06:40.042Z","dependency_job_id":"ccee3921-b1bc-4194-bfdc-07bb4a6a1dcb","html_url":"https://github.com/volcengine/terraform-provider-volcenginecc","commit_stats":null,"previous_names":["volcengine/terraform-provider-volcenginecc"],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/volcengine/terraform-provider-volcenginecc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fterraform-provider-volcenginecc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fterraform-provider-volcenginecc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fterraform-provider-volcenginecc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fterraform-provider-volcenginecc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/volcengine","download_url":"https://codeload.github.com/volcengine/terraform-provider-volcenginecc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fterraform-provider-volcenginecc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31314401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-08T13:16:20.918Z","updated_at":"2026-04-02T19:45:17.013Z","avatar_url":"https://github.com/volcengine.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Volcengine Cloud Control Provider\n\nThe Volcengine Cloud Control Provider enables interaction with various Volcengine-supported resources through the Cloud Control API. Prior to usage, you must configure the provider with appropriate credentials.\n\nUse the left navigation panel to explore available resource documentation. If you cannot find the desired resource, please submit an issue report for assistance.\n\n\u003e **NOTE**：\n\u003e 1. The Volcengine Cloud Control provider requires the use of Terraform 1.0.7 or later. \n\u003e 2. This guide requires an available Volcengine account or sub-account to create resources.\n\n## Network Mirror Configuration\n\nIf you experience slow provider downloads, you can configure a network mirror to accelerate the process. Add the following configuration to your Terraform CLI configuration file:\n\n### Linux \u0026 macOS\n\nCreate or edit the `~/.terraformrc` file:\n\n```hcl\nprovider_installation {\n  network_mirror {\n    url     = \"https://mirrors.volces.com/terraform/terraformcc/\"\n    include = [\"registry.terraform.io/volcengine/volcenginecc\"]\n  }\n  direct {\n    exclude = [\"registry.terraform.io/volcengine/volcenginecc\"]\n  }\n}\n```\n\n### Windows\n\nCreate or edit the `%APPDATA%\\terraform.rc` file:\n\n```hcl\nprovider_installation {\n  network_mirror {\n    url     = \"https://mirrors.volces.com/terraform/terraformcc/\"\n    include = [\"registry.terraform.io/volcengine/volcenginecc\"]\n  }\n  direct {\n    exclude = [\"registry.terraform.io/volcengine/volcenginecc\"]\n  }\n}\n```\n\n\u003e **NOTE**: The `direct` block with `exclude` ensures that only the volcenginecc provider is fetched from the mirror, while other providers continue to be downloaded directly from the Terraform registry.\n\n## Example Usage\n\nTerraform 1.0.7 and later:\n\n```shell\n# Configure the Volcenginecc Provider\nterraform {\n  required_providers {\n    volcenginecc = {\n      source  = \"volcengine/volcenginecc\"\n      version = \"~\u003e 0.0.1\"\n    }\n  }\n}\n\n# Create VPC\nresource \"volcenginecc_vpc_vpc\" \"VPCDemo\" {\n  vpc_name = \"vpc-demo\"\n  description = \"VpcDemo Example\"\n  cidr_block = \"192.168.0.0/24\"\n  support_ipv_4_gateway = true\n  enable_ipv_6 = false\n  project_name = \"default\"\n  tags = [\n    {\n      key = \"env\"\n      value = \"test\"\n    }\n  ]\n}\n\n# Query VPC\ndata \"volcenginecc_vpc_vpc\" \"VpcVpcDataSource\" {\n  id = volcenginecc_vpc_vpc.VPCDemo.id\n}\n```\n\n## Authentication\n\nThe Volcenginecc provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:\n\n### Static credentials\n\nStatic credentials can be provided by adding an public_key and private_key in-line in the volcengine provider block:\n\n\u003e **Warning**:\n\u003e Hard-coded credentials are not recommended in any Terraform configuration and risks secret leakage should this file ever be committed to a public version control system.\n\n**Authentication Priority and Requirements:**\n\n- **AK/SK Authentication**: The `access_key` and `secret_key` parameters have the highest priority for authentication.\n- **Profile Authentication**: The `profile` parameter can be used as an alternative authentication method.\n- **Validation Rules**:\n    - At least one authentication method must be provided: either `access_key`/`secret_key` OR `profile`\n    - If both AK/SK and Profile are provided, AK/SK authentication takes precedence over Profile authentication\n    - The `file_path` parameter is optional. If not specified, the default path `~/.volcengine` will be used to locate the profile configuration file\n\nUsage:\n\n```shell\nprovider \"volcenginecc\" {\n   access_key = \"your ak\"\n   secret_key = \"your sk\"\n   region = \"cn-beijing\"\n   profile = \"your profile\" \n   file_path = \"\" # if empty, default path is ~/.volcengine\n}\n```\n\n### Environment variables\n\nYou can provide your credentials via VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY environment variables, representing your volcengine public key and private key respectively. VOLCENGINE_REGION, VOLCENGINE_PROFILE, and VOLCENGINE_FILE_PATH are also used, if applicable:\n\n```shell\nprovider \"volcenginecc\" {\n\n}\n```\n\nUsage:\n\n```shell\n$ export VOLCENGINE_ACCESS_KEY=\"your_public_key\"\n$ export VOLCENGINE_SECRET_KEY=\"your_private_key\"\n$ export VOLCENGINE_REGION=\"cn-beijing\"\n$ export VOLCENGINE_PROFILE=\"your_profile\"\n$ export VOLCENGINE_FILE_PATH=\"your_file_path\" # if empty, default path is ~/.volcengine\n```\n\n\u003c!-- schema generated by tfplugindocs --\u003e\n\n## Schema\n\n### Optional\n\n- `access_key` (String) The Access Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_ACCESS_KEY` environment variable\n- `secret_key` (String) he Secret Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_SECRET_KEY` environment variable\n- `profile` (String) The Profile for Volcengine Provider. It can be used as an alternative authentication method to AK/SK, and can also be sourced from the `VOLCENGINE_PROFILE` environment variable\n- `file_path` (String) The File Path for Volcengine Provider. It specifies the path to the profile configuration file. If not specified, the default path `~/.volcengine` will be used, and can also be sourced from the `VOLCENGINE_FILE_PATH` environment variable\n- `assume_role` (Attributes) An `assume_role` block (documented below). Only one `assume_role` block may be in the configuration. (see [below for nested schema](#nestedatt--assume_role))\n- `customer_headers` (String) CUSTOMER HEADERS for Volcengine Provider. The customer_headers field uses commas (,) to separate multiple headers, and colons (:) to separate each header key from its corresponding value.\n- `disable_ssl` (Boolean) Disable SSL for Volcengine Provider\n- `endpoints` (Attributes) An `endpoints` block (documented below). Only one `endpoints` block may be in the configuration. (see [below for nested schema](#nestedatt--endpoints))\n- `proxy_url` (String) PROXY URL for Volcengine Provider\n- `region` (String) The Region for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_REGION` environment variable\n\n\n\u003ca id=\"nestedatt--assume_role\"\u003e\u003c/a\u003e\n\n### Nested Schema for `assume_role`\n\nRequired:\n\n- `assume_role_session_name` (String) The session name to use when making the AssumeRole call.\n- `assume_role_trn` (String) he TRN of the role to assume.\n- `duration_seconds` (Number) The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds.\n\nOptional:\n\n- `policy` (String) A more restrictive policy when making the AssumeRole call\n\n\u003ca id=\"nestedatt--endpoints\"\u003e\u003c/a\u003e\n\n### Nested Schema for `endpoints`\n\nOptional:\n\n- `cloudcontrolapi` (String) Use this to override the default Cloud Control API service endpoint URL\n- `sts` (String) Use this to override the default STS service endpoint URL","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolcengine%2Fterraform-provider-volcenginecc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolcengine%2Fterraform-provider-volcenginecc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolcengine%2Fterraform-provider-volcenginecc/lists"}