generated from ik-workshop/workshop-blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terragrunt.hcl
57 lines (50 loc) · 1.23 KB
/
terragrunt.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
locals {
}
# Generate an AWS provider block
generate "provider" {
path = "provider.tf"
if_exists = "overwrite_terragrunt"
contents = file("${get_parent_terragrunt_dir()}/templates/aws.hcl")
}
terraform {
source = "stack"
}
# terraform_binary = "tofu"
terraform_binary = "terraform"
# inputs = merge(
# {
# project_name = "webhook-paas-1386"
# region = "eu-west-1"
# },
# {
# integrations = [
# {
# path = "/paas/callback"
# uri = "https://paas-1386-callback-app-internal-eks.eu-west-1.sandbox.hbi.systems"
# },
# {
# path = "/sre/dora",
# uri = "sre-webhook-paas-1386"
# },
# # {
# # path = "/paas/second/callback"
# # uri = "https://paas-1386-callback-app-internal-eks.eu-west-1.sandbox.hbi.systems"
# # },
# # {
# # path = "/paas/dora/callback/any/depth"
# # uri = "sre-webhook-paas-1386"
# # },
# ]
# }
# )
remote_state {
## Local backend - useful for testing locally; writes state to stack directory
backend = "local"
config = {
path = "${get_terragrunt_dir()}/states/terraform.tfstate"
}
generate = {
path = "_backend.tf"
if_exists = "overwrite_terragrunt"
}
}