This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| AWS_ACCESS_KEY_ID="$(aws configure get aws_access_key_id)" | |
| AWS_SECRET_ACCESS_KEY="$(aws configure get aws_secret_access_key)" | |
| AWS_SESSION_TOKEN=$(aws configure get aws_session_token) | |
| AWS_REGION=$(aws configure get region) | |
| # from https://gist.github.com/slawekzachcial/fe23184124763dfb82f233b5dde2394b?permalink_comment_id=4292171#gistcomment-4292171 | |
| curl --request GET -v \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Input is like: | |
| ## curl --request POST "https://xxx.execute-api.ap-southeast-2.amazonaws.com/Prod/resource?MessageGroupId=1114" -H "Content-Type: application/json" --data-raw "{\"mykey\":[\"A\",\"B\"]}" | |
| ## | |
| ## If you get this error: | |
| ## { | |
| ## "Error": { | |
| ## "Code": "AccessDenied", | |
| ## "Message": "Access to the resource https://sqs.ap-southeast-2.amazonaws.com/123456789012/myqueue.fifo is denied.", | |
| ## "Type": "Sender" | |
| ## }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request workflow | |
| on: | |
| - pull_request | |
| jobs: | |
| cloudformation-linter: | |
| runs-on: ubuntu-latest | |
| steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ec2:Create*", | |
| "ec2:Describe*", | |
| "ec2:Modify*", | |
| "ec2:Delete*", |
OlderNewer