first
This commit is contained in:
commit
8710f441a6
6 changed files with 70 additions and 0 deletions
14
models/team/team.hcl
Normal file
14
models/team/team.hcl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
locals {
|
||||
|
||||
# Nom de l'équipe
|
||||
team = basename(get_terragrunt_dir())
|
||||
|
||||
# Configuration du backend S3 pour stocker l'état Terraform
|
||||
backend_bucket = "buc-cloe-vra8-pycloud-dev"
|
||||
backend_endpoint = "https://storagegrid-racine.in.phm.education.gouv.fr"
|
||||
|
||||
# Table DynamoDB pour le verrouillage de l'état
|
||||
backend_dynamodb_table = "terraform-locks"
|
||||
backend_dynamodb_endpoint = "https://dynamodb.k8sotl.integration.in.cloe.education.gouv.fr"
|
||||
|
||||
}
|
||||
8
models/trigram/trigram.hcl
Normal file
8
models/trigram/trigram.hcl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
locals {
|
||||
|
||||
# Trigramme du projet
|
||||
trigram = basename(get_terragrunt_dir())
|
||||
|
||||
leaseDays = 30
|
||||
|
||||
}
|
||||
0
root.hcl
Normal file
0
root.hcl
Normal file
43
stacks/trigram/terragrunt.stack.hcl
Normal file
43
stacks/trigram/terragrunt.stack.hcl
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#unit "service" {
|
||||
# source = "../tmp"
|
||||
# # source = "git::git@github.com:acme/infrastructure-catalog.git//units/ec2-asg-stateful-service"
|
||||
# path = "ofc/service"
|
||||
# no_dot_terragrunt_stack = true
|
||||
#
|
||||
# # Add any additional configuration for the service unit here
|
||||
#}
|
||||
stack "team" {
|
||||
source = "${get_path_to_repo_root()}/models/team"
|
||||
path = "${get_path_to_repo_root()}/ofc/dsof"
|
||||
no_dot_terragrunt_stack = true
|
||||
#
|
||||
# unit "service" {
|
||||
# source = "tmp"
|
||||
# # source = "git::git@github.com:acme/infrastructure-catalog.git//units/ec2-asg-stateful-service"
|
||||
# path = "service"
|
||||
#
|
||||
# no_dot_terragrunt_stack = true
|
||||
#
|
||||
# # Add any additional configuration for the service unit here
|
||||
# }
|
||||
#
|
||||
# unit "db" {
|
||||
# source = "tmp"
|
||||
# # source = "git::git@github.com:acme/infrastructure-catalog.git//units/mysql"
|
||||
# path = "db"
|
||||
#
|
||||
# no_dot_terragrunt_stack = true
|
||||
#
|
||||
# # Add any additional configuration for the db unit here
|
||||
# }
|
||||
#
|
||||
# unit "asg-sg" {
|
||||
# source = "tmp"
|
||||
# # source = "git::git@github.com:acme/infrastructure-catalog.git//units/security-group"
|
||||
# path = "sgs/asg"
|
||||
#
|
||||
# no_dot_terragrunt_stack = true
|
||||
#
|
||||
# # Add any additional configuration for the asg-sg unit here
|
||||
# }
|
||||
}
|
||||
5
terragrunt.stack.hcl
Normal file
5
terragrunt.stack.hcl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
stack "trigram" {
|
||||
path = "ofc"
|
||||
source = "${get_path_to_repo_root()}/models/trigram"
|
||||
no_dot_terragrunt_stack = true
|
||||
}
|
||||
0
tmp/terragrunt.hcl
Normal file
0
tmp/terragrunt.hcl
Normal file
Loading…
Reference in a new issue