Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-required cloudflare_email, fixes #84 #85

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ You will need API credentials to use the UpCloud terraform provider, see https:/

```sh
export TF_VAR_domain=<domain> # e.g. example.org
export TF_VAR_cloudflare_email=<email>
export TF_VAR_cloudflare_api_token=<token>
```

Expand Down
1 change: 0 additions & 1 deletion dns/cloudflare/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ variable "public_ips" {
}

provider "cloudflare" {
email = var.email
api_token = var.api_token
}

Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ module "dns" {
source = "./dns/cloudflare"

node_count = var.node_count
email = var.cloudflare_email
api_token = var.cloudflare_api_token
domain = var.domain
public_ips = module.provider.public_ips
Expand Down
4 changes: 0 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ variable "aws_region" {
}

/* cloudflare dns */
variable "cloudflare_email" {
default = ""
}

variable "cloudflare_api_token" {
default = ""
}
Expand Down