Skip to content

Commit

Permalink
more variable definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
initd1 committed Oct 3, 2024
1 parent d9dd534 commit 9471ab0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
1 change: 1 addition & 0 deletions terraform/.terraform.tfstate.lock.info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ID":"2f350bb8-47ed-e7a8-a10a-d25787a27686","Operation":"OperationTypePlan","Info":"","Who":"[email protected]","Version":"1.9.6","Created":"2024-10-01T16:41:08.057538Z","Path":"terraform.tfstate"}
7 changes: 1 addition & 6 deletions terraform/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@ terraform {
version = "~> 4.0"
}
}
}

provider "cloudflare" {
api_token = var.cloudflare_api_token
}

}
Empty file added terraform/terraform.tfstate
Empty file.
19 changes: 18 additions & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
# This file describes the variable data types essentially and the .tfvars files store the variable values
variable "zone" {
description = "The Domain used: kashyapvijay.com"
type = string
}

variable "zone_id" {
description = "The Cloudflare Zone ID"
type = string
}

variable "cloudflare_api_token" {
variable "account_id" {
description = "Account ID for your Cloudflare account"
type = string
sensitive = true
}

variable "api_token" {
description = "Cloudflare API token"
type = string
sensitive = true
}

variable "app_id" {
description = "The Access Application ID"
type = string
}

variable "waf_expression" {
Expand Down

0 comments on commit 9471ab0

Please sign in to comment.