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.
2 parents 8347a15 + e69a817 commit a5c7da4Copy full SHA for a5c7da4
main.tf
@@ -56,6 +56,6 @@ resource "null_resource" "notify_sns_topic" {
56
}
57
58
provisioner "local-exec" {
59
- command = "pip install boto3 && python ${path.module}/include/publish.py ${data.aws_region.current[0].name} ${element(var.asg_names, count.index)} ${aws_sns_topic.manage_dns_asg_sns[0].arn}"
+ command = "python3 -m venv /tmp/venv && source /tmp/venv/bin/activate && pip install boto3 && python ${path.module}/include/publish.py ${data.aws_region.current[0].name} ${element(var.asg_names, count.index)} ${aws_sns_topic.manage_dns_asg_sns[0].arn}"
60
61
0 commit comments