cos-spa

Kagashino/cos-spa/tencentcloud

Terraform Module HCL TENCENTCLOUD

This module provides an easy way to upload local Single Application Page Assets to TencentCloud Cloud Object Storage(COS) Bucket.

Install
module "cos-spa" {
source = "Kagashino/cos-spa/tencentcloud"
version = "0.1.0"
}
plain text: /constructs/tfmod-kagashino-cos-spa-tencentcloud/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform TencentCloud COS SPA Module This module provides an easy way to upload local Single Application Page Assets to TencentCloud Cloud Object Storage(COS) Bucket. Installation Requirement - Terraform >= 0.14.06 - Terraform Provider for Tencent Cloud >= 1.60.19 Usage Configure your TencentCloud Credentials: `` export TENCENTCLOUD_SECRET_ID = "AKIDxxxx" export TENCENTCLOUD_SECRET_KEY = "xxxx" ` Create main.tf at the project root `hcl terraform { required_providers { tencentcloud = { source = "tencentcloudstack/tencentcloud" version = ">=1.60.19" } } } variable "region" { default = "ap-guangzhou" } provider "tencentcloud" { region = var.region } resource "tencentcloud_cos_bucket" "foo" { bucket = "using-cos-module-1234567890" } module cos_spa { source = "github.com/Kagashino/terraform-mo

Inputs (5)
NameTypeDescriptionDefault
regionstringBucket Object region. required
bucketstringBucket name which objects upload to. required
patternstringArgument `pattern` of function `fileset`. The matched files will uploaded. Defau"**"
obj_aclstringThe canned ACL to apply."private"
filepathstringArgument `path` of `fileset`. Indicates local path of files."dist"
Outputs (2)
file_list
file_map
Resources (1)
tencentcloud_cos_bucket_object
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud TENCENTCLOUD
Total downloads494
Inputs5
Outputs2
Resources1
NamespaceKagashino
Updated