Skip to content

ci(terraform): Add success PR comment and test #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 16, 2024
Merged

Conversation

chris3ware
Copy link
Member

@chris3ware chris3ware commented Oct 16, 2024

All lint an format issues resolved since #5

This PR tests that the workflow runs successfully.

We'll also test an Infracost failure in this PR and preserve for the rubric because the next PR will test a deployment.

Copy link

github-actions bot commented Oct 16, 2024

💰 Infracost report

Monthly estimate increased by $1,221 📈

Changed project Baseline cost Usage cost* Total change New monthly cost
3ware/gitops-2024/terraform +$1,221 +$0 +$1,221 (+14,551%) $1,230

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

Estimate details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: main

~ aws_instance.grafana_server
  +$1,221 ($8 → $1,230)

    ~ Instance usage (Linux/UNIX, on-demand, t3.micro → hpc7g.16xlarge)
      +$1,221 ($8 → $1,229)

Monthly cost change for 3ware/gitops-2024/terraform
Amount:  +$1,221 ($8 → $1,230)
Percent: +14,551%

──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed

*Usage costs were estimated using Infracost Cloud settings, see docs for other options.

10 cloud resources were detected:
∙ 1 was estimated
∙ 9 were free

Infracost estimate: Monthly estimate increased by $1,221 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change       ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━┫
┃ 3ware/gitops-2024/terraform                        ┃       +$1,221 ┃         +$0 ┃ +$1,221 (+14,551%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━┛
❌ Policies failed (needs action)

Cost policy failed (needs action)

Total monthly cost diff must be less than $10.00 (actual diff is $1221.14)

This comment will be updated when code changes.

Copy link

Terraform Format and Style success ✅

Terraform Validation success ✅

TFLint success ✅

@chris3ware chris3ware merged commit 4a67867 into main Oct 16, 2024
3 of 4 checks passed
@chris3ware chris3ware deleted the tidy-pipeline branch October 16, 2024 14:33
@3ware-release
Copy link
Contributor

3ware-release bot commented Oct 21, 2024

This PR is included in version 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant