Skip to content

Commit

Permalink
Fix duplicate variable definition warning in Terraform > v7.1 (#1).
Browse files Browse the repository at this point in the history
  • Loading branch information
tintoy committed Nov 22, 2016
1 parent 2a82081 commit 58c954d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions terraform/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ provider "aws" {
secret_key = "${var.aws_secret_key}"
}

variable "dns_domain_name" { }
variable "dns_subdomain_name" { }
variable "dns_hosted_zone_id" { }
#################
# Local variables
#
# Run setup.py to generate local-vars.json (where these values are supplied).
#
# variable "dns_domain_name" { }
# variable "dns_subdomain_name" { }
# variable "dns_hosted_zone_id" { }
# variable "aws_access_key" { }
# variable "aws_secret_key" { }

# Rancher
resource "aws_route53_record" "rancher_host" {
Expand Down
8 changes: 4 additions & 4 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ provider "ddcloud" {
# Local variables
#
# Run setup.py to generate local-vars.json (where these values are supplied).

variable "client_ip" { }
variable "ssh_public_key_file" { }
variable "ssh_bootstrap_password" { }
#
# variable "client_ip" { }
# variable "ssh_public_key_file" { }
# variable "ssh_bootstrap_password" { }

#########
# Globals
Expand Down

0 comments on commit 58c954d

Please sign in to comment.