aws / aws/aws-cli

`cloudformation package` not handling `CodeS3Location` on AppSync Resolvers and FunctionConfigurations

Open
#7,469 9 comments 12 reactions 0 assignees Claimed by @chrisb-cd View on GitHub
bug cloudformation package-deploy customization has-pr p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

`cloudformation package` does not properly handle artifact create for `AWS::AppSync::Resolver` and `AWS::AppSync::FunctionConfiguration` `CodeS3Location` properties

### Expected Behavior

Artifacts are uploaded to S3 bucket and the template returned by `package` has the property values updated to the S3 references.

### Current Behavior

No artifacts are uploaded for these properties and the template returned by `package` is not updated.

### Reproduction Steps

Package the following template and notice that the package template is identical and nothing was uplaoded to the S3 bucket
```
{
"AWSTemplateFormatVersion": "2010-09-09",
"BugResolver": {
"Type": "AWS::AppSync::Resolver",
"Properties": {
"CodeS3Location": "./resolver.json"
}
},
"BugFunction": {
"Type": "AWS::AppSync::FunctionConfiguration",
"Properties": {
"CodeS3Location": "./function.js"
}
}
}
```

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### CLI version used

aws-cli/2.9.0

### Environment details (OS name and version, etc.)

Python/3.11.0 Darwin/21.6.0 source/arm64 prompt/off

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.