Skip to content

Commit 4f067e7

Browse files
committed
removed default value for variables name,namespace,stage
1 parent 2d295ef commit 4f067e7

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Include this repository as a module in your existing terraform code:
1010

1111
```terraform
1212
module "admin_tier" {
13-
source = "git::https://github.com/cloudposse/tf_instance.git?ref=tags/0.1.0"
13+
source = "git::https://github.com/cloudposse/tf_instance.git?ref=master"
1414
ansible_playbook = "${var.ansible_playbook}"
1515
ansible_arguments = "${var.ansible_arguments}"
1616
ssh_key_pair = "${var.ssh_key_pair}"
@@ -22,6 +22,9 @@ module "admin_tier" {
2222
security_groups = ["${var.security_groups}"]
2323
subnets = ["${var.subnets}"]
2424
associate_public_ip_address = "${var.associate_public_ip_address}"
25+
name = "${var.name}"
26+
namespace = "${var.namespace}"
27+
stage = "${var.stage}"
2528
}
2629
```
2730

variables.tf

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,11 @@ variable "subnets" {
3333
type = "list"
3434
}
3535

36-
variable "namespace" {
37-
default = "global"
38-
}
36+
variable "namespace" {}
3937

40-
variable "stage" {
41-
default = "default"
42-
}
38+
variable "stage" {}
4339

44-
variable "name" {
45-
default = "admin"
46-
}
40+
variable "name" {}
4741

4842
variable "ec2_ami" {
4943
default = "ami-cd0f5cb6"

0 commit comments

Comments
 (0)