File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Include this repository as a module in your existing terraform code:
10
10
11
11
``` terraform
12
12
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 "
14
14
ansible_playbook = "${var.ansible_playbook}"
15
15
ansible_arguments = "${var.ansible_arguments}"
16
16
ssh_key_pair = "${var.ssh_key_pair}"
@@ -22,6 +22,9 @@ module "admin_tier" {
22
22
security_groups = ["${var.security_groups}"]
23
23
subnets = ["${var.subnets}"]
24
24
associate_public_ip_address = "${var.associate_public_ip_address}"
25
+ name = "${var.name}"
26
+ namespace = "${var.namespace}"
27
+ stage = "${var.stage}"
25
28
}
26
29
```
27
30
Original file line number Diff line number Diff line change @@ -33,17 +33,11 @@ variable "subnets" {
33
33
type = " list"
34
34
}
35
35
36
- variable "namespace" {
37
- default = " global"
38
- }
36
+ variable "namespace" {}
39
37
40
- variable "stage" {
41
- default = " default"
42
- }
38
+ variable "stage" {}
43
39
44
- variable "name" {
45
- default = " admin"
46
- }
40
+ variable "name" {}
47
41
48
42
variable "ec2_ami" {
49
43
default = " ami-cd0f5cb6"
You can’t perform that action at this time.
0 commit comments