We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbabac3 commit 38df706Copy full SHA for 38df706
assumerole.tf
@@ -9,6 +9,7 @@ resource "local_file" "assumerole_addrole" {
9
10
content = templatefile("${path.module}/template/addrole.sh.tftpl", {
11
stack_name = var.assumerole_stack_name
12
+ assumerole_template_name = var.assumerole_template_name
13
})
14
15
}
template/addrole.sh.tftpl
@@ -1 +1 @@
1
-aws cloudformation create-stack --capabilities CAPABILITY_NAMED_IAM --template-body file://tfassumerole.cfn.yml --stack-name ${stack_name}
+aws cloudformation create-stack --capabilities CAPABILITY_NAMED_IAM --template-body file://${assumerole_template_name} --stack-name ${stack_name}
0 commit comments