{"id":13498596,"url":"https://github.com/serverless-components/tencent-vpc","last_synced_at":"2025-04-04T15:32:11.009Z","repository":{"id":46371605,"uuid":"244581573","full_name":"serverless-components/tencent-vpc","owner":"serverless-components","description":"Tencent Cloud Vpc Serverless Component","archived":false,"fork":false,"pushed_at":"2021-10-22T13:53:49.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-20T15:01:31.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serverless-components.png","metadata":{"files":{"readme":"README.en.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}},"created_at":"2020-03-03T08:29:58.000Z","updated_at":"2021-10-22T13:53:52.000Z","dependencies_parsed_at":"2022-09-22T23:30:28.541Z","dependency_job_id":null,"html_url":"https://github.com/serverless-components/tencent-vpc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Ftencent-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Ftencent-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Ftencent-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless-components%2Ftencent-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serverless-components","download_url":"https://codeload.github.com/serverless-components/tencent-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247203024,"owners_count":20900896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-07-31T21:00:37.559Z","updated_at":"2025-04-04T15:32:05.995Z","avatar_url":"https://github.com/serverless-components.png","language":"JavaScript","readme":"# Tencent Cloud Vpc Component\n\n[简体中文](https://github.com/serverless-components/tencent-vpc/tree/master/README.md) | English\n\n## Introduction\n\nTencent Cloud Vpc serverless component.\n\n## Content\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Remove](#5-Remove)\n\n### 1. Install\n\nInstall the Serverless Framework globally:\n\n```bash\n$ npm install -g serverless\n```\n\n### 2. Create\n\nIn project root, create the following simple boilerplate:\n\n```bash\n$ touch serverless.yml\n$ touch .env           # your Tencent api keys\n```\n\nAdd the access keys of a [Tencent CAM Role](https://console.cloud.tencent.com/cam/capi) with `AdministratorAccess` in the `.env` file, using this format:\n\n```\n# .env\nTENCENT_SECRET_ID=XXX\nTENCENT_SECRET_KEY=XXX\n```\n\n- If you don't have a Tencent Cloud account, you could [sign up](https://intl.cloud.tencent.com/register) first.\n\n### 3. Configure\n\n```yml\n# serverless.yml\norg: orgDemo # (optional) serverless dashboard org. default is the first org you created during signup.\napp: appDemo # (optional) serverless dashboard app. default is the same as the name property.\nstage: dev # (optional) serverless dashboard stage. default is dev.\n\ncomponent: vpc # (required) name of the component. In that case, it's vpc.\nname: vpcDemo # (required) name of your vpc component instance.\n\ninputs:\n  region: ap-guangzhou\n  zone: ap-guangzhou-2\n  vpcName: serverless\n  subnetName: serverless\n```\n\n- [More Options](https://github.com/serverless-components/tencent-vpc/tree/master/docs/configure.md)\n\n### 4. Deploy\n\n```bash\n$ sls deploy\n```\n\n\u003e Notice: `sls` is short for `serverless` command.\n\n\u0026nbsp;\n\n### 5. Remove\n\n```bash\n$ sls remove\n```\n\n### More Components\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","funding_links":[],"categories":["组件"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless-components%2Ftencent-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserverless-components%2Ftencent-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless-components%2Ftencent-vpc/lists"}