-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test 5 - Demo #22
base: main
Are you sure you want to change the base?
Test 5 - Demo #22
Changes from 30 commits
9414b21
c08a13b
b6fb763
5836af7
adad4a7
e10f6c6
3ac456c
208f73e
4626a9e
121f6ec
7754aab
54cc897
422f7da
b057bd5
6ad877d
8fdf384
c35eb15
f3179f3
48c4d81
1ebf1f0
d76c136
b6ee154
9fbdcd5
3290d7c
e72ed3d
223567d
b076624
64aa462
82cf7a1
07fe3fd
360f928
0dc63d0
25232b2
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 |
---|---|---|
|
@@ -12,11 +12,51 @@ jobs: | |
- name: Clone repo | ||
uses: actions/checkout@master | ||
- name: tfsec | ||
id: tfsec | ||
uses: aquasecurity/[email protected] | ||
with: | ||
working_directory: '' | ||
tfsec_args: --soft-fail | ||
tfsec_args: --soft-fail --no-ignores --include-passed | ||
github_token: ${{ github.token }} | ||
- name: Upload math result for job 1 | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: tf_results | ||
path: results.json | ||
- name: Print the final result | ||
if: always() | ||
shell: bash | ||
run: | | ||
value=`cat results.json` | ||
echo The result is $value | ||
name: A job to say hello | ||
- name: pull_request | ||
run: echo ${{github.event.pull_request.url}} | ||
- name: tf-visualizer-action | ||
if: always() | ||
id: hello | ||
uses: fatihtokus/[email protected] | ||
with: | ||
pull-request: ${{github.event.pull_request.url}} | ||
github-token: ${{ github.token }} | ||
- name: Download math result for job 2 | ||
if: always() | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: tf_results | ||
- name: outputtest1 | ||
if: always() | ||
run: | | ||
ls | ||
echo "mix-ecto_create='ABC'" >> $GITHUB_OUTPUT | ||
id: run_tests | ||
- name: outputtest2 | ||
if: always() | ||
run: | | ||
echo ${{steps.run_tests.outputs.mix-ecto_create}} | ||
echo ${{join(steps.run_tests.outputs.*, '\n')}} | ||
echo ${{join(steps.tfsec.outputs.*, '\n')}} | ||
# create_issue: | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
|
@@ -33,6 +73,7 @@ jobs: | |
# "body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_." | ||
# }' \ | ||
# --fail | ||
# | ||
# hello_world_job: | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "aws_s3_bucket" "my-bucket-test1" { | ||
bucket = "foobar" | ||
acl = "private" | ||
} | ||
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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.
Comment on lines
+1
to
+4
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws-s3-block-public-acls
:More information available here and here