@@ -150,25 +150,25 @@ jobs:
150150 role-session-name : ${{ github.sha }}
151151 aws-region : us-west-2
152152
153- - name : Terraform Setup
153+ - name : Tofu Setup
154154 uses : opentofu/setup-opentofu@v1
155155 with :
156156 tofu_version : ${{ env.tf_version }}
157157 tofu_wrapper : false
158158
159- - name : Terraform Init
159+ - name : Tofu Init
160160 working-directory : ${{ matrix.env.tf_working_dir }}
161161 run : tofu init
162162
163- - name : Terraform Format
163+ - name : Tofu Format
164164 working-directory : " ./"
165165 run : tofu fmt -check -recursive
166166
167- - name : Terraform Plan
167+ - name : Tofu Plan
168168 working-directory : ${{ matrix.env.tf_working_dir }}
169169 run : tofu plan -input=false -out=plan
170170
171- - name : Analyze Terraform Plan
171+ - name : Analyze Tofu Plan
172172 uses : byu-oit/github-action-tf-plan-analyzer@v2
173173 if : github.repository_owner == 'byu-oit'
174174 # If you're at BYU, but outside the byu-oit GitHub org, you may be able to obtain credentials by contacting [email protected] @@ -186,12 +186,12 @@ jobs:
186186 client-secret : ${{ secrets[matrix.env.rfc_secret_name] }}
187187 template-id : ${{ matrix.env.rfc_template_id }}
188188
189- - name : Terraform Apply
189+ - name : Tofu Apply
190190 working-directory : ${{ matrix.env.tf_working_dir }}
191191 run : tofu apply plan
192192
193- - name : Get Terraform Outputs
194- id : terraform -outputs
193+ - name : Get Tofu Outputs
194+ id : tofu -outputs
195195 working-directory : ${{ matrix.env.tf_working_dir }}
196196 run : |
197197 echo "codedeploy_app_name=$(tofu output -raw codedeploy_app_name)" >> $GITHUB_OUTPUT
@@ -203,9 +203,9 @@ jobs:
203203 id : deploy
204204 uses : byu-oit/github-action-codedeploy@v2
205205 with :
206- application-name : ${{ steps.terraform -outputs.outputs.codedeploy_app_name }}
207- deployment-group-name : ${{ steps.terraform -outputs.outputs.codedeploy_deployment_group_name }}
208- appspec-file : ${{ steps.terraform -outputs.outputs.codedeploy_appspec_json_file }}
206+ application-name : ${{ steps.tofu -outputs.outputs.codedeploy_app_name }}
207+ deployment-group-name : ${{ steps.tofu -outputs.outputs.codedeploy_deployment_group_name }}
208+ appspec-file : ${{ steps.tofu -outputs.outputs.codedeploy_appspec_json_file }}
209209
210210 - name : End Standard Change
211211 uses : byu-oit/github-action-end-standard-change@v1
0 commit comments