Skip to content

fix(template): remove sub from metadata#4562

Merged
mergify[bot] merged 3 commits intoaws:mainlinefrom
iamhopaul123:fix-access-policy
Feb 28, 2023
Merged

fix(template): remove sub from metadata#4562
mergify[bot] merged 3 commits intoaws:mainlinefrom
iamhopaul123:fix-access-policy

Conversation

@iamhopaul123
Copy link
Copy Markdown
Contributor

fixes #4560

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.

@iamhopaul123 iamhopaul123 requested a review from a team as a code owner February 28, 2023 18:04
@iamhopaul123 iamhopaul123 requested review from huanjani and removed request for a team February 28, 2023 18:04
Resources:
{{logicalIDSafe .Name}}BucketAccessPolicy:
Metadata:
'aws:copilot:description': !Sub
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only template with !Sub? in the metadata description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually no

@efekarakus efekarakus added the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Feb 28, 2023
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 28, 2023

🍕 Here are the new binary sizes!

Name New size (kiB) size (kiB) Delta (%)
macOS (amd) 49988 49912 +0.15
macOS (arm) 49804 49728 +0.15
linux (amd) 43992 43928 +0.15
linux (arm) 42308 42244 +0.15
windows (amd) 40800 40736 +0.16

@iamhopaul123 iamhopaul123 removed the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Feb 28, 2023
'aws:copilot:description': !Sub
- 'An IAM managed policy for your service to access the ${Table} DDB table of your environment'
- Table: { Fn::ImportValue: { Fn::Sub: "${App}-${Env}-{{logicalIDSafe .Name}}TableName" } }
'aws:copilot:description': 'An IAM managed policy for your service to access the DDB table of your environment'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if there is more than one DDB table in the env? Does that matter? 🤔 "...access a DDB table in..."??

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call

@huanjani huanjani added the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Feb 28, 2023
@iamhopaul123 iamhopaul123 removed the do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. label Feb 28, 2023
@mergify mergify Bot merged commit afe735d into aws:mainline Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to deploy service with storage

3 participants