kubevela.github.io/docs/end-user/components/cloud-services/terraform/deploy-website.md

37 lines
1.1 KiB
Markdown

---
title: Deploy-Website
---
## Description
Deploy a Static Website in object stroage, like S3 and OSS
## Specification
### Properties
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
bucket | OSS bucket name | string | false |
endpoint | OSS bucket endpoint | string | true |
static_web_url | The URL of the static website | string | false |
writeConnectionSecretToRef | The secret which the cloud resource connection will be written to | [writeConnectionSecretToRef](#writeConnectionSecretToRef) | false |
#### writeConnectionSecretToRef
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
name | The secret name which the cloud resource connection will be written to | string | true |
namespace | The secret namespace which the cloud resource connection will be written to | string | false |
### Outputs
If `writeConnectionSecretToRef` is set, a secret will be generated with these keys as below:
Name | Description
------------ | -------------
URL | The URL of the website