Skip to content

Commit

Permalink
need to manually set SAM S3 bucket
Browse files Browse the repository at this point in the history
SAM needs a specifically named stack which is not easy to do with CFN StackSets.
  • Loading branch information
tmclaugh committed Aug 8, 2024
1 parent 928bbf6 commit 23aa115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
shell: bash
run: |
sam package \
--resolve-s3 \
--s3-bucket aws-sam-cli-sourcebucket-346402060170-us-east-1 \
--s3-prefix ${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG_URL }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL }}/${{ env.GITHUB_REF_SLUG_URL }} \
--region us-east-1 \
--output-template-file packaged-template.yaml
Expand Down
4 changes: 2 additions & 2 deletions samconfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ lint = true
[default.deploy.parameters]
capabilities = "CAPABILITY_IAM CAPABILITY_AUTO_EXPAND"
confirm_changeset = false
resolve_s3 = true
#resolve_s3 = true

[default.package.parameters]
resolve_s3 = true
#resolve_s3 = true

[default.sync.parameters]
watch = true
Expand Down

0 comments on commit 23aa115

Please sign in to comment.