Skip to content

Commit ecee096

Browse files
authored
create terraform local exec
1 parent b3b43e9 commit ecee096

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

terraform_local-exec

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
provisioner "local-exec" {
2+
command = <<AwsCliCommand
3+
aws mediastore put-container-policy \
4+
--container-name ${aws_media_store_container.container.name} \
5+
--policy '${data.aws_iam_policy_document.container.json}'
6+
AwsCliCommand
7+
}
8+
}

0 commit comments

Comments
 (0)