Skip to content

Commit

Permalink
add: cloudflare provider
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Dec 19, 2021
1 parent 0776e87 commit 380b3f1
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
32 changes: 32 additions & 0 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions terraform/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ terraform {
source = "hashicorp/oci"
version = "4.57.0"
}

cloudflare = {
source = "cloudflare/cloudflare"
version = "3.5.0"
}
}
}

Expand All @@ -14,3 +19,7 @@ provider "oci" {
fingerprint = var.OCID_FINGERPRINT
private_key = var.OCID_PRIVATE_KEY
}

provider "cloudflare" {
api_token = var.CF_DNS_TOKEN
}
2 changes: 2 additions & 0 deletions terraform/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ variable "OCID_COMPARTMENT" {}
variable "OCID_SUBNET" {}
variable "OCID_SOURCE" {}
variable "OCID_VCN" {}
variable "CF_ZONE_ID" {}
variable "CF_DNS_TOKEN" {}

0 comments on commit 380b3f1

Please sign in to comment.