Skip to content

Commit 1a5c3ab

Browse files
authored
add IAM blog on the README (#25)
* add IAM blog on the README * Update preview.yml * Update preview.yml * Update integration-test.yml * Update cdk.yml * Update integration-test.yml * Update cdk.yml * Update integration-test.yml * Update preview.yml * Update preview.yml * Update preview.yml
1 parent 39e65e4 commit 1a5c3ab

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/cdk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cdklocal --version
3434
3535
- name: Start LocalStack
36-
uses: LocalStack/setup-localstack@v0.2.3
36+
uses: LocalStack/setup-localstack@main
3737
with:
3838
image-tag: 'latest'
3939
use-pro: 'true'
@@ -88,7 +88,7 @@ jobs:
8888
8989
- name: Upload the Diagnostic Report
9090
if: failure()
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4
9292
with:
9393
name: diagnose.json.gz
9494
path: ./diagnose.json.gz

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
100100
- name: Upload the Diagnostic Report
101101
if: failure()
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
103103
with:
104104
name: diagnose.json.gz
105105
path: ./diagnose.json.gz

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: 20
1919
- name: LocalStack Preview
20-
uses: LocalStack/setup-localstack@v0.2.3
20+
uses: LocalStack/setup-localstack@debug-action
2121
with:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
2323
state-backend: ephemeral
@@ -31,4 +31,4 @@ jobs:
3131
distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id');
3232
echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV;
3333
env:
34-
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
34+
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ Toggle **Enforce IAM Policies** to enable strict IAM enforcement. For demo purpo
172172

173173
Engage with the application or run tests to generate a policy stream for various services. During this process, you may notice some **IAM Violations**. These are intentionally included to demonstrate how the IAM Policy Stream can be used to test policies in a secure developer setting, helping to identify and resolve missing policies to ensure everything works in production environments.
174174

175-
Find the missing policy statements and fix the IAM Policy on the [IAM Resource Browser](https://app.localstack.cloud/inst/default/resources/iam/roles) (for `SubmitQuizRole`) or patch it locally and update the policy using AWS CLI.
175+
Find the missing policy statements and fix the IAM Policy on the [IAM Resource Browser](https://app.localstack.cloud/inst/default/resources/iam/roles) (for `SubmitQuizRole`) or patch it locally and update the policy using AWS CLI.
176+
177+
Here is a [tutorial](https://blog.localstack.cloud/generating-testing-iam-policies-locally-with-localstack/) showcasing how you can do the above!
176178

177179
## Chaos Engineering
178180

0 commit comments

Comments
 (0)