Comments (5)
I believe this issue is related to a broken version of PyYAML: yaml/pyyaml#724
from aws-deployment-framework.
Unfortunately I cannot reproduce your issue with v3.2.0.
@Wildpipe can you please elaborate on the version you are running?
Specifically, I see your logs reference Python 3.11, which is a version that is not supported by CDK v1 that is used by ADF v3.2.0. Might you be running any patches that are merged in our main branch today?
It looks like you are running our CDK v2 patch at least. And what CodeBuild image is used specifically?
from aws-deployment-framework.
Yes, we are running the CDK v2 patch.
For CodeBuild image we are running aws/codebuild/standard:7.0
I managed to "fix" the problem by implementing the following changes:
Comment out this line
Append the following lines to
- pip install wheel
- pip install --no-build-isolation "Cython<3" "pyyaml==5.4.1"
Append the following lines to https://github.com/awslabs/aws-deployment-framework/blob/e348ed1a4144d26d0fd7ed6866c8a663f9111141/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml#L667C35-L667C56
- pip install wheel
- pip install --no-build-isolation "Cython<3" "pyyaml==5.4.1"
Sorry, I wasn't aware we had diverged from main branch in terms of codebuild image.
from aws-deployment-framework.
Looking at the cdkv2 patch that seems to be what introduced the standard:7.0 change
from aws-deployment-framework.
Okay, phew. I am about to perform an upgrade of ADF v3.2.0 at another large installation.
I was worried this would impact v3.2.0 upgrades too, blocking our ability to upgrade.
I will get a PR in the main branch to fix this issue. Thanks for sharing that workaround.
from aws-deployment-framework.
Related Issues (20)
- [Feat]: Re-enable cfn-lint HOT 2
- [Feat]: Event based detection method for pipeline with S3 data source
- [Feat]: Support Deployment Maps in Source repositories
- [Bug]: Long and similar pipelines names in same deployment map prevents pipeline from being created
- [Bug]: terraform plan doesn't catch errors
- [Bug]: Description of EventBridge Rules for Completion Triggers shows variables placeholders
- [Bug]: DeleteDefaultVPC fails with OptInRequired HOT 2
- [Feat]: New release HOT 2
- [Bug]: Parameter "deployment_account_id" into deployment account's parameter store HOT 2
- [Feat]: Terraform variables per region
- [Bug]: Account Based Terraform variables do not work
- [Feat]: Improve auto-create-repository behaviour within Deployment Map Definition HOT 1
- [Feat]: Add Python isort and black linters. HOT 2
- [Feat]: Enhanced Targetting via Tags HOT 1
- AWS CodeBuild error: 'list' object has no attribute 'get'
- [Bug]: generate_params script type errors are not clear what's the issue
- [Bug]: <Error during ADF deployment cfn_custom_resource> HOT 4
- [Chore]: Upgrade GitHub CodeQL Action v2 to v3 HOT 1
- [Feat]: enable pylint on samples dir and optionally on test files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-deployment-framework.