-
Notifications
You must be signed in to change notification settings - Fork 0
Plan on pr #3
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
Plan on pr #3
Changes from all commits
a4f1470
b6c26d1
bf703d2
2d6359a
661cd14
e48c979
b232e47
d641085
651ca8d
27c13a2
9c4bc3e
9642f22
7929da7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Apply Terraform | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| terraform-validate: | ||
| uses: ./.github/workflows/validate.yml | ||
| terraform-apply: | ||
| runs-on: ubuntu-latest | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there an option to list an exact ubuntu version? as in line line 19 where you list an exact commit: |
||
| needs: terraform-validate | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Terraform Apply | ||
| uses: dflook/terraform-apply@61432ffb5b94226bdfc9cd68a1702a2c40e0db8b | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: Plan Terraform | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| terraform-plan: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Terraform Plan | ||
| uses: dflook/terraform-plan@a6967bcc161f0df654b5df2f1f00eca83a4cbad9 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.* @renatodellosso |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -315,7 +315,7 @@ resource "cloudflare_dns_record" "www-cname" { | |
| resource "cloudflare_dns_record" "status-cname" { | ||
| zone_id = var.cloudflare-zone-id | ||
| name = "status" | ||
| content = aws_lb.gearbox-load-balancer.dns_name | ||
| content = "app.pulsetic.com" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Assuming this is correct, but the previous content name wasn't in quotes. Unsure if whatever code processes this is expecting quotes or not |
||
| type = "CNAME" | ||
| ttl = 1 | ||
| } | ||
|
|
||
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium