this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(infra): setup tfstate for staging

Khue Doan d059bf7f ddb60b0f

+18
+18
infra/staging/tfstate/terragrunt.hcl
··· 1 + include "root" { 2 + path = find_in_parent_folders("root.hcl") 3 + expose = true 4 + } 5 + 6 + terraform { 7 + source = "${find_in_parent_folders("_modules")}//tfstate" 8 + 9 + before_hook "bootstrap_tfstate" { 10 + commands = ["init", "plan", "apply"] 11 + execute = [ 12 + "go", "run", ".", 13 + "--api-token=${include.root.locals.secrets.cloudflare_tfstate_api_token}", 14 + "--account-id=${include.root.locals.secrets.cloudflare_account_id}", 15 + "--bucket=tfstate-${include.root.locals.env}", 16 + ] 17 + } 18 + }