-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Labels
area/pipelineIssues about pipelines to release applications.Issues about pipelines to release applications.guidanceIssue requesting guidance or information about usageIssue requesting guidance or information about usage
Description
I was puzzled by a strange problem.
I had a working copilot pipeline until 20220715, but after updating a README.md on 20220722 the deployment to my dev environment is now failing with the error:
[/Resources/DynamicDesiredCountFunction/Type/Code/S3Bucket] 'null' values are not allowed in templates (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: *******; Proxy: null)
The --stack.yml file in the failing build that used to contain a proper:
DynamicDesiredCountFunction:
Type: AWS::Lambda::Function
Properties:
Code:
ZipFile: |
"...loads of JS skipped here...
Now instead (empty values in S3Bucket as the error message indicates):
DynamicDesiredCountFunction:
Type: AWS::Lambda::Function
Properties:
Code:
S3Bucket:
S3Key:
I noticed that my buildspec.yml downloads and unpacks the latest copilot-linux and that a new 1.20.0 version was released after the last successful build.
Once I changed fixed the copilot-linux to 1.19.0 things started working again.
There seems to be some breaking change to be aware of.
Metadata
Metadata
Assignees
Labels
area/pipelineIssues about pipelines to release applications.Issues about pipelines to release applications.guidanceIssue requesting guidance or information about usageIssue requesting guidance or information about usage