Skip to content

Commit 39f06bd

Browse files
committed
Fix dependency
1 parent 22a5164 commit 39f06bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ resource "null_resource" "organizational_units" {
2121
}
2222

2323
data "external" "organizational_units" {
24-
program = ["bash", "${path.module}/scripts/get_ous.sh"]
24+
depends_on = ["null_resource.organizational_units"]
25+
program = ["bash", "${path.module}/scripts/get_ous.sh"]
2526

2627
query = {
2728
aws_profile = "${var.aws_profile}"

resource-plan-graph.png

5.04 KB
Loading

0 commit comments

Comments
 (0)