@everymundo/em-cloudflare-dns

0.0.6 • Public • Published

em-cloudflare-dns

Easily provision cloudflare DNS Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g @serverless/cloudflare-kv

2. Create

$ mkdir demo de && cd demo

Just create a serverless.yml file

$ touch serverless.yml
$ touch .env      # your CF credentials
# .env
CF_ACCOUNT_ID=
CF_EMAIL=
CF_KEY=
CF_ZONE_ID=

3. Configure

Create a serverless.yml file:

# serverless.yml
name: demo
stage: dev
plugins:
   - serverless-dotenv-plugin
demo:
  component: '@verymundo/em-cloudflare-dns'
  inputs:
      zone: everymundo.net
      name: test2.vg
      type: CNAME
      content: everymundo.net
        

Use the environment variables CF_ACCOUNT_ID, CF_EMAIL, CF_KEY and CF_ZONE_ID to specify your Cloudflare API credentials.

4. Deploy

$ severless

 

New to Components?

Checkout the Serverless Components repo for more information.

Package Sidebar

Install

npm i @everymundo/em-cloudflare-dns

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

4.62 kB

Total Files

5

Last publish

Collaborators

  • atamayo04
  • volodymyrpetrov
  • jsalvadorpp
  • lindolo25
  • double2-us
  • ceciliagalarza
  • carla-villegas
  • eblez
  • mjremedios1985
  • mtmorell88
  • a11y_automation2
  • ramses83
  • raydel
  • alex-orga
  • estebanpablo89
  • yartiles
  • jonmorazav
  • everymundo-admin
  • ballester
  • danielsan
  • halain
  • avivero93
  • anahiem
  • herlin
  • karinfdez
  • erlin
  • front10devs
  • hdelcastillo
  • dcuevacem
  • ortega.dc98
  • pedroleon917
  • kaylingw
  • lazjramos
  • daniuska-em