Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Let’s say you have a webserver for your domain that’s accessible on
Your domain :

Create your config file :

Exec this command line : terraform init
To initializing provider plugins (cloudflare)
provider.cloudflare: version = "1.0"

Exec : terraform plan 
To refresh terraform state
you can see the "execution plan", a new DNS A record :

Applying your changes with : terraform apply --auto-approve

Verifying the results on the Cloudflare Dashboard (DNS)

You can show informations with : terraform show
==> domain =
==> hostname =
==> name = www
==> type = A
==> value =

To conclude, you can exec : curl
=> Hello, this is!
You can’t perform that action at this time.