File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
22
3- name : TofuPlan
3+ name : Tofu Plan
44
55on :
66 workflow_dispatch :
6666 working-directory : ./terraform
6767 run : tofu init
6868
69- - name : Apply changes
69+ - name : Run tofu plan
7070 env :
7171 TF_LOG : " INFO"
7272 working-directory : ./terraform
Original file line number Diff line number Diff line change 1+ terraform {
2+ backend "s3" {
3+ bucket = " ${ var . project_name } -${ var . environment } -tfstate"
4+ key = " ${ var . project_name } .tfstate"
5+ region = var. aws_region
6+ dynamodb_table = " ${ var . environment } .tfstate"
7+ }
8+ }
9+ module "backend" {
10+ source = " github.com/codeforamerica/tofu-modules-aws-backend?ref=1.1.1"
11+
12+ project = var. project_name
13+ environment = var. environment
14+ }
15+
116module "logging" {
217 source = " github.com/codeforamerica/tofu-modules-aws-logging?ref=2.1.0"
318
You can’t perform that action at this time.
0 commit comments