项目作者: r13o

项目描述 :
Infrastructure as code (IaC)
高级语言: HCL
项目地址: git://github.com/r13o/infra.git
创建时间: 2019-08-21T17:43:21Z
项目社区:https://github.com/r13o/infra

开源协议:MIT License

下载


Infrastructure as Code

I prefer to use Terraform to manage as much of my infrastructure as possible. After pushing commits to the main branch, Terraform Cloud will automatically apply the changes.

Cloudflare API token

The following permissions are required for the Cloudflare provider to function properly:

  • Account.Account Settings:Read
  • Account.Cloudflare Pages:Edit
  • Account.Cloudflare Tunnel:Edit
  • Zone.Zone:Edit
  • Zone.Zone Settings:Edit
  • Zone.Page Rules:Edit
  • Zone.DNS:Edit
  • Zone.Workers Routes:Edit

Cloudflare API token for GitHub Actions

The following permissions are required for the GitHub Actions to deploy Cloudflare Workers:

  • Account.Cloudflare Pages:Edit
  • Account.Workers Scripts:Edit

GitHub PAT

The GitHub provider requires a fine-grained personal access token with access to all repositories and the following permissions:

  • Administration: Read and write
  • Contents: Read and write
  • Metadata: Read-only
  • Secrets: Read and write