modules/atlantis/image.tf (9 lines of code) (raw):

resource "null_resource" "image_create" { provisioner "local-exec" { command = "./atlantis-image/script.sh" environment = { aws_account_id = var.aws_account_id region = var.region } } }