Skip to content

Commit

Permalink
add tags to template
Browse files Browse the repository at this point in the history
  • Loading branch information
dtsai-czi committed Sep 6, 2023
1 parent 61dc598 commit 7c6b7a0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions templates/templates/component/terraform/fogg.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,17 @@ variable "owner" {
variable "tags" {
type = object({project: string, env: string, service: string, owner: string, managedBy: string})
default = {
project = "{{ .Project }}"
env = "{{ .Env }}"
service = "{{ .Name }}"
owner = "{{ .Owner }}"
project = "{{ .Project }}"
env = "{{ .Env }}"
service = "{{ .Name }}"
owner = "{{ .Owner }}"
date = "{{ .Date }}"
filePath = "{{ .FilePath }}"
foggUser = "{{ .FoggUser }}"
gitRepository = "{{ .GitRepository }}"
commitHash = "{{ .CommitHash }}"
managedBy = "terraform"

}
}

Expand Down

0 comments on commit 7c6b7a0

Please sign in to comment.