Skip to content

Commit

Permalink
Add step ID and correct TF Plan artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomdango committed Jul 14, 2023
1 parent af7ee31 commit efe1226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cicd-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,13 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: example-app-tfplan-output
path: example-app.tfplan
path: example/terraform/example-app.tfplan

- name: Run Terraform Apply
run: terraform -chdir=example/terraform apply example-app.tfplan

- name: Get CloudFront Distribution ID
id: get_distribution_id
run: echo "distribution_id=$(terraform -chdir=example/terraform output -raw cloudfront_distribution_id)" >> "$GITHUB_OUTPUT"

- name: Trigger CloudFront Cache Invalidation
Expand Down

0 comments on commit efe1226

Please sign in to comment.