Closed MATTT-P closed 9 months ago
Hello @MATTT-P, thanks for raising an issue. The error log might be a bit misleading as it suggests you to run cdk bootstrap
while it should be suggesting ddk bootstrap
. We can confirm this hypothesis given that the logs fail when trying to find the SSM parameter /ddk/dev/hnb659fds/bootstrap-version
.
We are using AWS DDK CLI 0.6.2 as you can see in the logs. In versions <1.0.0 DDK uses the DDK CLI (here are the docs for the CLI documentation) and this is the multi-account implementation that data.all leverages.
I hope that helps, please feel free to reach out if you still face issues
@dlpzx After ddk bootstrapping, using "gitflow" and "CodePipeline - trunk" CICD strategy now CodePipeline runs successfully.
But using "CDK - trunk" strategy CodePipeline is not getting created and in dataAll UI pipeline status shows in PENDING state forever. we tried to debug this issue but found that stackID is getting assigned NULL value in case of "CDK - trunk" strategy. In case of other two strategy there was a proper value allocated to stackID.
Below is the stack log for CDK - trunk pipeline:
CDK - trunk stack log
-- Using schema: dev --
Starting deployment task for stack : pdk2vp8y
Starting new stack from stackid pdk2vp8y
..............................................
Running configure
..............................................
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI: /v2/credentials/aba96ea8-f485-4975-972e-4be27db55892
stackuri = pdk2vp8y, stackId = None
-- Using schema: dev --
Remote boto3 session using pivot role for account= xxx
Checking Repository Exists: dataall-sbx-daupgradetest3-qtejf5se
Running Commands: ddk init dataall-sbx-daupgradetest3-qtejf5se --generate-only; cd dataall-sbx-daupgradetest3-qtejf5se; git init --initial-branch main; ddk create-repository dataall-sbx-daupgradetest3-qtejf5se -t application dataall -t team Sandbox1Admin
AWS DDK CLI 0.5.1 (Python 3.8.16 (default, Mar 10 2023, 03:07:48)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-15)])
Initializing AWS DDK project...
Done.
Initialized empty Git repository in /dataall/cdkproxy/cdkpipeline/dataall-sbx-daupgradetest3-qtejf5se/.git/
AWS DDK CLI 0.5.1 (Python 3.8.16 (default, Mar 10 2023, 03:07:48)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-15)])
Creating AWS CodeCommit repository...
Running git commands...
Done.
Successfully Initialized New CDK/DDK App
Running Commands: git config user.email "codebuild@example.com"; git config user.name "CodeBuild"; git config --local credential.helper "!aws codecommit credential-helper $@"; git config --local credential.UseHttpPath true; git add .; git commit -a -m 'Initial Commit' ; git push -u origin main
[main (root-commit) 4cf1f28] Initial Commit
12 files changed, 327 insertions(+)
create mode 100644 .gitignore
create mode 100644 README.md
create mode 100644 app.py
create mode 100644 cdk.json
create mode 100644 ddk.json
create mode 100644 ddk_app/__init__.py
create mode 100644 ddk_app/ddk_app_stack.py
create mode 100644 requirements-dev.txt
create mode 100644 requirements.txt
create mode 100644 setup.py
create mode 100644 source.bat
create mode 100755 test.sh
remote: Validating objects: 0%
remote: Validating objects: 100%
To https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/dataall-sbx-daupgradetest3-qtejf5se
* [new branch] main -> main
branch 'main' set up to track 'origin/main'.
Successfully Pushed DDK App Code
python path = /:/usr/lib64/python38.zip/:/usr/lib64/python3.8/:/usr/lib64/python3.8/lib-dynload/:/usr/local/lib64/python3.8/site-packages/:/usr/local/lib/python3.8/site-packages/:/usr/lib64/python3.8/site-packages/:/usr/lib/python3.8/site-packages:/code
app_path: ./app.py
Remote boto3 session using pivot role for account= xxx
Running command :
. ~/.nvm/nvm.sh && cdk deploy --all --require-approval never -c appid='dataall-sbx-cdkpipeline-qtejf5se' -c account='xxx' -c region='eu-west-1' -c stack='cdkpipeline' -c target_uri='qtejf5se' -c data='{}' --app "/usr/bin/python3.8 ./app.py" --verbose
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! Node 16 is approaching end-of-life and will no longer be supported in new releases after 2023-09-11. !!
!! Please upgrade to a supported node version as soon as possible. !!
!! !!
!! This software is currently running on node v16.20.2. !!
!! As of the current release of this software, supported node releases are: !!
!! - ^20.0.0 (Planned end-of-life: 2026-04-30) !!
!! - ^18.0.0 (Planned end-of-life: 2025-04-30) !!
!! - ^16.3.0 (Planned end-of-life: 2023-09-11) [DEPRECATED] !!
!! !!
!! This warning can be silenced by setting the JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION environment variable. !!
!! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[14:13:59] CDK toolkit version: 2.92.0 (build bf62e55)
[14:13:59] Command line arguments: {
_: [ 'deploy' ],
all: true,
'require-approval': 'never',
requireApproval: 'never',
c: [
'appid=dataall-sbx-cdkpipeline-qtejf5se',
'account=xxx',
'region=eu-west-1',
'stack=cdkpipeline',
'target_uri=qtejf5se',
'data={}'
],
context: [
'appid=dataall-sbx-cdkpipeline-qtejf5se',
'account=xxx',
'region=eu-west-1',
'stack=cdkpipeline',
'target_uri=qtejf5se',
'data={}'
],
app: '/usr/bin/python3.8 ./app.py',
a: '/usr/bin/python3.8 ./app.py',
verbose: 1,
v: 1,
defaultAccount: xxx,
defaultRegion: 'eu-west-1',
lookups: true,
'ignore-errors': false,
ignoreErrors: false,
json: false,
j: false,
debug: false,
ec2creds: undefined,
i: undefined,
'version-reporting': undefined,
versionReporting: undefined,
'path-metadata': undefined,
pathMetadata: undefined,
'asset-metadata': undefined,
assetMetadata: undefined,
'role-arn': undefined,
r: undefined,
roleArn: undefined,
staging: true,
'no-color': false,
noColor: false,
ci: false,
'build-exclude': [],
E: [],
buildExclude: [],
force: false,
f: false,
parameters: [ {} ],
'previous-parameters': true,
previousParameters: true,
logs: true,
concurrency: 1,
'asset-prebuild': true,
assetPrebuild: true,
'$0': 'cdk'
}
[14:13:59] CLI argument context: appid=dataall-sbx-cdkpipeline-qtejf5se
[14:13:59] CLI argument context: account=xxx
[14:13:59] CLI argument context: region=eu-west-1
[14:13:59] CLI argument context: stack=cdkpipeline
[14:13:59] CLI argument context: target_uri=qtejf5se
[14:13:59] CLI argument context: data={}
[14:13:59] cdk.json: {
"app": "python3 app.py",
"watch": {
"include": [
"**"
],
"exclude": [
"README.md",
"cdk*.json",
"requirements*.txt",
"source.bat",
"**/__init__.py",
"python/__pycache__",
"tests"
]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
"@aws-cdk/core:stackRelativeExports": true,
"@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
"@aws-cdk/aws-lambda:recognizeVersionProps": true,
"@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": true,
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/core:target-partitions": [
"aws",
"aws-cn"
]
}
}
[14:13:59] merged settings: {
versionReporting: true,
assetMetadata: true,
pathMetadata: true,
output: 'cdk.out',
app: '/usr/bin/python3.8 ./app.py',
watch: {
include: [ '**' ],
exclude: [
'README.md',
'cdk*.json',
'requirements*.txt',
'source.bat',
'**/__init__.py',
'python/__pycache__',
'tests'
]
},
context: {
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId': true,
'@aws-cdk/core:stackRelativeExports': true,
'@aws-cdk/aws-rds:lowercaseDbIdentifier': true,
'@aws-cdk/aws-lambda:recognizeVersionProps': true,
'@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021': true,
'@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver': true,
'@aws-cdk/aws-ec2:uniqueImdsv2TemplateName': true,
'@aws-cdk/core:target-partitions': [ 'aws', 'aws-cn' ],
appid: 'dataall-sbx-cdkpipeline-qtejf5se',
account: 'xxx',
region: 'eu-west-1',
stack: 'cdkpipeline',
target_uri: 'qtejf5se',
data: '{}'
},
debug: false,
requireApproval: 'never',
toolkitBucket: {},
staging: true,
bundlingStacks: [ '**' ],
lookups: true,
assetPrebuild: true
}
[14:13:59] Determining if we're on an EC2 instance.
[14:13:59] Looks like an EC2 instance.
[14:13:59] Toolkit stack: CDKToolkit
[14:13:59] Setting "CDK_DEFAULT_REGION" environment variable to eu-west-1
[14:13:59] Resolving default credentials
[14:13:59] Looking up default account ID from STS
[14:14:00] Notices refreshed
[14:14:00] Failed to store notices in the cache: Error: ENOENT: no such file or directory, open '/root/.cdk/cache/notices.json'
[14:14:00] Default account ID: xxx
[14:14:00] Setting "CDK_DEFAULT_ACCOUNT" environment variable to xxx
[14:14:00] context: {
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId': true,
'@aws-cdk/core:stackRelativeExports': true,
'@aws-cdk/aws-rds:lowercaseDbIdentifier': true,
'@aws-cdk/aws-lambda:recognizeVersionProps': true,
'@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021': true,
'@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver': true,
'@aws-cdk/aws-ec2:uniqueImdsv2TemplateName': true,
'@aws-cdk/core:target-partitions': [ 'aws', 'aws-cn' ],
appid: 'dataall-sbx-cdkpipeline-qtejf5se',
account: 'xxx',
region: 'eu-west-1',
stack: 'cdkpipeline',
target_uri: 'qtejf5se',
data: '{}',
'aws:cdk:enable-path-metadata': true,
'aws:cdk:enable-asset-metadata': true,
'aws:cdk:version-reporting': true,
'aws:cdk:bundling-stacks': [ '**' ]
}
[14:14:00] outdir: cdk.out
[14:14:00] env: {
CDK_DEFAULT_REGION: 'eu-west-1',
CDK_DEFAULT_ACCOUNT: 'xxx',
CDK_OUTDIR: 'cdk.out',
CDK_CLI_ASM_VERSION: '33.0.0',
CDK_CLI_VERSION: '2.92.0'
}
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
b'!! !!\n'
b'!! Node 16 is approaching end-of-life and will no longer be supported in new releases after 2023-09-11. !!\n'
b'!! Please upgrade to a supported node version as soon as possible. !!\n'
b'!! !!\n'
b'!! This software is currently running on node v16.20.2. !!\n'
b'!! As of the current release of this software, supported node releases are: !!\n'
b'!! - ^20.0.0 (Planned end-of-life: 2026-04-30) !!\n'
b'!! - ^18.0.0 (Planned end-of-life: 2025-04-30) !!\n'
b'!! - ^16.3.0 (Planned end-of-life: 2023-09-11) [DEPRECATED] !!\n'
b'!! !!\n'
b'!! This warning can be silenced by setting the JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION environment variable. !!\n'
b'!! !!\n'
b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
✨ Synthesis time: 10.74s
[14:14:10] Checking for previously published assets
[14:14:10] Retrieved account ID xxx from disk cache
[14:14:10] Assuming role 'arn:aws:iam::xxx:role/ddk-cicd-hnb659fds-deploy-xxx-eu-west-1'.
[14:14:10] Retrieved account ID xxx from disk cache
[14:14:10] Assuming role 'arn:aws:iam::xxx:role/ddk-cicd-hnb659fds-file-publish-xxx-eu-west-1'.
[14:14:10] dataall-cdkpipeline-qtejf5se: check: Check s3://ddk-cicd-hnb659fds-assets-xxx-eu-west-1/f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa.json
[14:14:10] 1 total assets, 1 still need to be published
[14:14:10] Retrieved account ID xxx from disk cache
[14:14:10] Waiting for stack CDKToolkit to finish creating or updating...
dataall-cdkpipeline-qtejf5se: start: Building f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa:xxx-eu-west-1
dataall-cdkpipeline-qtejf5se: success: Built f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa:xxx-eu-west-1
[14:14:11] Retrieved account ID xxx from disk cache
dataall-cdkpipeline-qtejf5se: start: Publishing f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa:xxx-eu-west-1
[14:14:11] Retrieved account ID xxx from disk cache
[14:14:11] Assuming role 'arn:aws:iam::xxx:role/ddk-cicd-hnb659fds-file-publish-xxx-eu-west-1'.
[14:14:11] dataall-cdkpipeline-qtejf5se: check: Check s3://ddk-cicd-hnb659fds-assets-xxx-eu-west-1/f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa.json
[14:14:11] Call failed: getBucketEncryption({"Bucket":"ddk-cicd-hnb659fds-assets-xxx-eu-west-1"}) => Access Denied (code=AccessDenied)
[14:14:11] dataall-cdkpipeline-qtejf5se: debug: Could not read encryption settings of bucket 'ddk-cicd-hnb659fds-assets-xxx-eu-west-1': uploading with default settings ("cdk bootstrap" to version 9 if your organization's policies prevent a successful upload or to get rid of this message).
[14:14:11] dataall-cdkpipeline-qtejf5se: upload: Upload s3://ddk-cicd-hnb659fds-assets-xxx-eu-west-1/f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa.json
dataall-cdkpipeline-qtejf5se: success: Published f14e7268987d6f8e350cc9fb1e9fb1c08d7849a350b423f07cd1258b058e96aa:xxx-eu-west-1
dataall-cdkpipeline-qtejf5se: deploying... [1/1]
[14:14:11] Retrieved account ID xxx from disk cache
[14:14:11] Call failed: describeStacks({"StackName":"dataall-cdkpipeline-qtejf5se"}) => Stack with id dataall-cdkpipeline-qtejf5se does not exist (code=ValidationError)
[14:14:11] dataall-cdkpipeline-qtejf5se: checking if we can skip deploy
[14:14:11] dataall-cdkpipeline-qtejf5se: no existing stack
[14:14:11] dataall-cdkpipeline-qtejf5se: deploying...
[14:14:11] Attempting to create ChangeSet with name cdk-deploy-change-set to create stack dataall-cdkpipeline-qtejf5se
dataall-cdkpipeline-qtejf5se: creating CloudFormation changeset...
[14:14:11] Initiated creation of changeset: arn:aws:cloudformation:eu-west-1:xxx:changeSet/cdk-deploy-change-set/d8f2c4c4-9476-405c-84dd-fefb7e9b0138; waiting for it to finish creating...
[14:14:11] Waiting for changeset cdk-deploy-change-set on stack dataall-cdkpipeline-qtejf5se to finish creating...
[14:14:11] Changeset cdk-deploy-change-set on stack dataall-cdkpipeline-qtejf5se is still creating
[14:14:16] Changeset cdk-deploy-change-set on stack dataall-cdkpipeline-qtejf5se is still creating
[14:14:21] Initiating execution of changeset arn:aws:cloudformation:eu-west-1:xxx:changeSet/cdk-deploy-change-set/d8f2c4c4-9476-405c-84dd-fefb7e9b0138 on stack dataall-cdkpipeline-qtejf5se
[14:14:22] Execution of changeset arn:aws:cloudformation:eu-west-1:xxx:changeSet/cdk-deploy-change-set/d8f2c4c4-9476-405c-84dd-fefb7e9b0138 on stack dataall-cdkpipeline-qtejf5se has started; waiting for the update to complete...
[14:14:22] Waiting for stack dataall-cdkpipeline-qtejf5se to finish creating or updating...
[14:14:22] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS (User Initiated))
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:11 PM | REVIEW_IN_PROGRESS | AWS::CloudFormation::Stack | dataall-cdkpipeline-qtejf5se User Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:22 PM | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | dataall-cdkpipeline-qtejf5se User Initiated
[14:14:27] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Role (codepipelinePipelineRole6B0A7474)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role (codepipelinePipelineBuildSynthCdkBuildProjectRole3DB0FD8D)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/EventsRole (codepipelinePipelineEventsRoleF75805EA)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::KMS::Key | code-pipeline/Pipeline/ArtifactsBucketEncryptionKey (codepipelinePipelineArtifactsBucketEncryptionKey3A0FD228)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/UpdatePipeline/SelfMutation/Role (codepipelineUpdatePipelineSelfMutationRole8863CC9B)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRole10288AD0)
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Role (codepipelinePipelineRole6B0A7474) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role (codepipelinePipelineBuildSynthCdkBuildProjectRole3DB0FD8D) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:27 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/EventsRole (codepipelinePipelineEventsRoleF75805EA) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:28 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/UpdatePipeline/SelfMutation/Role (codepipelineUpdatePipelineSelfMutationRole8863CC9B) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:28 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRole10288AD0) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 0/22 | 2:14:28 PM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 1/22 | 2:14:28 PM | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
dataall-cdkpipeline-qtejf5se | 1/22 | 2:14:28 PM | CREATE_IN_PROGRESS | AWS::KMS::Key | code-pipeline/Pipeline/ArtifactsBucketEncryptionKey (codepipelinePipelineArtifactsBucketEncryptionKey3A0FD228) Resource creation Initiated
[14:14:32] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:14:37] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:14:42] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:14:47] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 2/22 | 2:14:46 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/Pipeline/Role (codepipelinePipelineRole6B0A7474)
dataall-cdkpipeline-qtejf5se | 3/22 | 2:14:46 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role (codepipelinePipelineBuildSynthCdkBuildProjectRole3DB0FD8D)
dataall-cdkpipeline-qtejf5se | 4/22 | 2:14:46 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/Pipeline/EventsRole (codepipelinePipelineEventsRoleF75805EA)
dataall-cdkpipeline-qtejf5se | 5/22 | 2:14:46 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/UpdatePipeline/SelfMutation/Role (codepipelineUpdatePipelineSelfMutationRole8863CC9B)
dataall-cdkpipeline-qtejf5se | 6/22 | 2:14:46 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRole10288AD0)
[14:14:52] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 6/22 | 2:14:48 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/CodeBuildActionRole (codepipelineCodeBuildActionRoleB15E1A14)
dataall-cdkpipeline-qtejf5se | 6/22 | 2:14:48 PM | CREATE_IN_PROGRESS | AWS::IAM::Role | code-pipeline/CodeBuildActionRole (codepipelineCodeBuildActionRoleB15E1A14) Resource creation Initiated
[14:14:57] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:02] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:07] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 7/22 | 2:15:07 PM | CREATE_COMPLETE | AWS::IAM::Role | code-pipeline/CodeBuildActionRole (codepipelineCodeBuildActionRoleB15E1A14)
[14:15:12] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:18] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:23] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:28] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:33] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:38] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
7/22 Currently in progress: dataall-cdkpipeline-qtejf5se, codepipelinePipelineArtifactsBucketEncryptionKey3A0FD228
[14:15:43] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:48] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:53] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:15:58] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:03] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:08] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:13] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:18] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:23] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:28] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:33] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:29 PM | CREATE_COMPLETE | AWS::KMS::Key | code-pipeline/Pipeline/ArtifactsBucketEncryptionKey (codepipelinePipelineArtifactsBucketEncryptionKey3A0FD228)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:31 PM | CREATE_IN_PROGRESS | AWS::KMS::Alias | code-pipeline/Pipeline/ArtifactsBucketEncryptionKeyAlias (codepipelinePipelineArtifactsBucketEncryptionKeyAliasFE101608)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:31 PM | CREATE_IN_PROGRESS | AWS::CodeBuild::Project | code-pipeline/Pipeline/Build/Synth/CdkBuildProject (codepipelinePipelineBuildSynthCdkBuildProject55AA4B0E)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:31 PM | CREATE_IN_PROGRESS | AWS::CodeBuild::Project | code-pipeline/UpdatePipeline/SelfMutation (codepipelineUpdatePipelineSelfMutationF7C423B0)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:31 PM | CREATE_IN_PROGRESS | AWS::S3::Bucket | code-pipeline/Pipeline/ArtifactsBucket (codepipelinePipelineArtifactsBucket8B048B65)
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:32 PM | CREATE_IN_PROGRESS | AWS::KMS::Alias | code-pipeline/Pipeline/ArtifactsBucketEncryptionKeyAlias (codepipelinePipelineArtifactsBucketEncryptionKeyAliasFE101608) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:32 PM | CREATE_IN_PROGRESS | AWS::CodeBuild::Project | code-pipeline/Pipeline/Build/Synth/CdkBuildProject (codepipelinePipelineBuildSynthCdkBuildProject55AA4B0E) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:32 PM | CREATE_IN_PROGRESS | AWS::S3::Bucket | code-pipeline/Pipeline/ArtifactsBucket (codepipelinePipelineArtifactsBucket8B048B65) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 8/22 | 2:16:32 PM | CREATE_IN_PROGRESS | AWS::CodeBuild::Project | code-pipeline/UpdatePipeline/SelfMutation (codepipelineUpdatePipelineSelfMutationF7C423B0) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 9/22 | 2:16:32 PM | CREATE_COMPLETE | AWS::CodeBuild::Project | code-pipeline/Pipeline/Build/Synth/CdkBuildProject (codepipelinePipelineBuildSynthCdkBuildProject55AA4B0E)
dataall-cdkpipeline-qtejf5se | 10/22 | 2:16:33 PM | CREATE_COMPLETE | AWS::CodeBuild::Project | code-pipeline/UpdatePipeline/SelfMutation (codepipelineUpdatePipelineSelfMutationF7C423B0)
[14:16:39] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 10/22 | 2:16:34 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/CodeBuildActionRole/DefaultPolicy (codepipelineCodeBuildActionRoleDefaultPolicyBC4962E5)
dataall-cdkpipeline-qtejf5se | 10/22 | 2:16:36 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/CodeBuildActionRole/DefaultPolicy (codepipelineCodeBuildActionRoleDefaultPolicyBC4962E5) Resource creation Initiated
[14:16:44] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:49] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:16:54] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 11/22 | 2:16:51 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/CodeBuildActionRole/DefaultPolicy (codepipelineCodeBuildActionRoleDefaultPolicyBC4962E5)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:53 PM | CREATE_COMPLETE | AWS::S3::Bucket | code-pipeline/Pipeline/ArtifactsBucket (codepipelinePipelineArtifactsBucket8B048B65)
[14:16:59] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:54 PM | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | code-pipeline/Pipeline/ArtifactsBucket/Policy (codepipelinePipelineArtifactsBucketPolicy5087DB5C)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:54 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/UpdatePipeline/SelfMutation/Role/DefaultPolicy (codepipelineUpdatePipelineSelfMutationRoleDefaultPolicyC4D753BF)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:54 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role/DefaultPolicy (codepipelinePipelineBuildSynthCdkBuildProjectRoleDefaultPolicy122381F0)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:54 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole/DefaultPolicy (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRoleDefaultPolicy3B060F36)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:55 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Role/DefaultPolicy (codepipelinePipelineRoleDefaultPolicyB6BE2215)
dataall-cdkpipeline-qtejf5se | 12/22 | 2:16:55 PM | CREATE_IN_PROGRESS | AWS::S3::BucketPolicy | code-pipeline/Pipeline/ArtifactsBucket/Policy (codepipelinePipelineArtifactsBucketPolicy5087DB5C) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 13/22 | 2:16:55 PM | CREATE_COMPLETE | AWS::S3::BucketPolicy | code-pipeline/Pipeline/ArtifactsBucket/Policy (codepipelinePipelineArtifactsBucketPolicy5087DB5C)
dataall-cdkpipeline-qtejf5se | 13/22 | 2:16:55 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/UpdatePipeline/SelfMutation/Role/DefaultPolicy (codepipelineUpdatePipelineSelfMutationRoleDefaultPolicyC4D753BF) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 13/22 | 2:16:56 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole/DefaultPolicy (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRoleDefaultPolicy3B060F36) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 13/22 | 2:16:56 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role/DefaultPolicy (codepipelinePipelineBuildSynthCdkBuildProjectRoleDefaultPolicy122381F0) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 13/22 | 2:16:56 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/Role/DefaultPolicy (codepipelinePipelineRoleDefaultPolicyB6BE2215) Resource creation Initiated
[14:17:04] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:09] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:14] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 14/22 | 2:17:11 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/UpdatePipeline/SelfMutation/Role/DefaultPolicy (codepipelineUpdatePipelineSelfMutationRoleDefaultPolicyC4D753BF)
dataall-cdkpipeline-qtejf5se | 15/22 | 2:17:11 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/Pipeline/Source/dataall-sbx-daupgradetest3-qtejf5se/CodePipelineActionRole/DefaultPolicy (codepipelinePipelineSourcedataallsbxdaupgradetest3qtejf5seCodePipelineActionRoleDefaultPolicy3B060F36)
dataall-cdkpipeline-qtejf5se | 16/22 | 2:17:11 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/Pipeline/Build/Synth/CdkBuildProject/Role/DefaultPolicy (codepipelinePipelineBuildSynthCdkBuildProjectRoleDefaultPolicy122381F0)
dataall-cdkpipeline-qtejf5se | 17/22 | 2:17:11 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/Pipeline/Role/DefaultPolicy (codepipelinePipelineRoleDefaultPolicyB6BE2215)
dataall-cdkpipeline-qtejf5se | 17/22 | 2:17:14 PM | CREATE_IN_PROGRESS | AWS::CodePipeline::Pipeline | code-pipeline/Pipeline (codepipelinePipeline60D14C3F)
dataall-cdkpipeline-qtejf5se | 17/22 | 2:17:14 PM | CREATE_IN_PROGRESS | AWS::CodePipeline::Pipeline | code-pipeline/Pipeline (codepipelinePipeline60D14C3F) Resource creation Initiated
[14:17:19] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 18/22 | 2:17:15 PM | CREATE_COMPLETE | AWS::CodePipeline::Pipeline | code-pipeline/Pipeline (codepipelinePipeline60D14C3F)
dataall-cdkpipeline-qtejf5se | 18/22 | 2:17:16 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/EventsRole/DefaultPolicy (codepipelinePipelineEventsRoleDefaultPolicy54D3CD84)
dataall-cdkpipeline-qtejf5se | 18/22 | 2:17:16 PM | CREATE_IN_PROGRESS | AWS::Events::Rule | dataall-sbx-daupgradetest3-qtejf5se/dataallcdkpipelineqtejf5secodepipelinePipeline024FDE14-main-EventRule (dataallsbxdaupgradetest3qtejf5sedataallcdkpipelineqtejf5secodepipelinePipeline024FDE14mainEventRuleCB55D2E6)
dataall-cdkpipeline-qtejf5se | 18/22 | 2:17:17 PM | CREATE_IN_PROGRESS | AWS::Events::Rule | dataall-sbx-daupgradetest3-qtejf5se/dataallcdkpipelineqtejf5secodepipelinePipeline024FDE14-main-EventRule (dataallsbxdaupgradetest3qtejf5sedataallcdkpipelineqtejf5secodepipelinePipeline024FDE14mainEventRuleCB55D2E6) Resource creation Initiated
dataall-cdkpipeline-qtejf5se | 18/22 | 2:17:17 PM | CREATE_IN_PROGRESS | AWS::IAM::Policy | code-pipeline/Pipeline/EventsRole/DefaultPolicy (codepipelinePipelineEventsRoleDefaultPolicy54D3CD84) Resource creation Initiated
[14:17:24] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:29] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:34] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 19/22 | 2:17:32 PM | CREATE_COMPLETE | AWS::KMS::Alias | code-pipeline/Pipeline/ArtifactsBucketEncryptionKeyAlias (codepipelinePipelineArtifactsBucketEncryptionKeyAliasFE101608)
dataall-cdkpipeline-qtejf5se | 20/22 | 2:17:33 PM | CREATE_COMPLETE | AWS::IAM::Policy | code-pipeline/Pipeline/EventsRole/DefaultPolicy (codepipelinePipelineEventsRoleDefaultPolicy54D3CD84)
[14:17:39] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:44] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:17:49] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:18:00] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:18:05] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
20/22 Currently in progress: dataall-cdkpipeline-qtejf5se, dataallsbxdaupgradetest3qtejf5sedataallcdkpipelineqtejf5secodepipelinePipeline024FDE14mainEventRuleCB55D2E6
[14:18:10] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
[14:18:15] Stack dataall-cdkpipeline-qtejf5se has an ongoing operation in progress and is not stable (CREATE_IN_PROGRESS)
dataall-cdkpipeline-qtejf5se | 21/22 | 2:18:17 PM | CREATE_COMPLETE | AWS::Events::Rule | dataall-sbx-daupgradetest3-qtejf5se/dataallcdkpipelineqtejf5secodepipelinePipeline024FDE14-main-EventRule (dataallsbxdaupgradetest3qtejf5sedataallcdkpipelineqtejf5secodepipelinePipeline024FDE14mainEventRuleCB55D2E6)
dataall-cdkpipeline-qtejf5se | 22/22 | 2:18:18 PM | CREATE_COMPLETE | AWS::CloudFormation::Stack | dataall-cdkpipeline-qtejf5se
[14:18:20] Stack dataall-cdkpipeline-qtejf5se has completed updating
✅ dataall-cdkpipeline-qtejf5se
✨ Deployment time: 249.19s
Stack ARN:
arn:aws:cloudformation:eu-west-1:xxx:stack/dataall-cdkpipeline-qtejf5se/80cf1be0-3dd1-11ee-844b-06b7aa8731c3
✨ Total time: 259.93s
[14:18:20] Notices refreshed
Running command :
deactivate; rm -rf ./dataall-sbx-daupgradetest3-qtejf5se
Successfully cleaned cloned repo: ./dataall-sbx-daupgradetest3-qtejf5se.
Remote boto3 session using pivot role for account= xxx
Failed to retrieve stack output for stack dataall-sbx-cdkpipeline-qtejf5se due to: An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id dataall-sbx-cdkpipeline-qtejf5se does not exist
Failed to deploy stack pdk2vp8y due to Required parameter name not set
Triggering deployment failure alarm...
Sending deployment failure notification
Traceback (most recent call last):
File "/dataall/cdkproxy/cdk_cli_wrapper.py", line 195, in describe_stack
return {'StackId': meta.stack_id, 'StackStatus': meta.stack_status}
File "/usr/local/lib/python3.8/site-packages/boto3/resources/factory.py", line 380, in property_loader
self.load()
File "/usr/local/lib/python3.8/site-packages/boto3/resources/factory.py", line 564, in do_action
response = action(self, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/boto3/resources/action.py", line 88, in __call__
response = getattr(parent.meta.client, operation_name)(*args, **params)
File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 514, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 938, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id dataall-sbx-cdkpipeline-qtejf5se does not exist
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/dataall/tasks/cdkproxy.py", line 21, in <module>
deploy_cdk_stack(engine=engine, stackid=stack_uri, app_path='../cdkproxy/app.py')
File "/dataall/cdkproxy/cdk_cli_wrapper.py", line 182, in deploy_cdk_stack
raise e
File "/dataall/cdkproxy/cdk_cli_wrapper.py", line 170, in deploy_cdk_stack
meta = describe_stack(stack)
File "/dataall/cdkproxy/cdk_cli_wrapper.py", line 198, in describe_stack
meta = resource.Stack(stack.stackid)
File "/usr/local/lib/python3.8/site-packages/boto3/resources/factory.py", line 527, in create_resource
return partial(
File "/usr/local/lib/python3.8/site-packages/boto3/resources/base.py", line 125, in __init__
raise ValueError(f'Required parameter {identifier} not set')
ValueError: Required parameter name not set
Hi @MATTT-P,
In the logs, I see that the Cloudformation stack is dataall-cdkpipeline-qtejf5se
, while the subsequent code tries to get output from the stack dataall-sbx-daupgradetest3-qtejf5se
.
In backend/dataall/cdkproxy/cdkpipeline/cdk_pipeline.py, it seems that when a user selects the "CDK pipeline - trunk based" strategy, then the Cloudformation stack is named dataall-cdkpipeline-{URI}
. But I believe that dataall tries to interact with the cloudformation stack {env_prefix}-cdkpipeline-{URI}
. dataall
is the default environment prefix, but you would get the error if you have another environment prefix for your environment (such as dataall-sbx
in your case).
@MATTT-P could you try creating a "CDK pipeline - trunk based" in an environment which has dataall
as the environment prefix ? We will then see if this is the only thing causing the error. If that's the case, we will fix it in the open-source repository.
cc @dlpzx
Thanks @louishourcade for looking into the issue. Also, it looks like the deployment was successful, the issue is on the describe stack operation. @MATTT-P can you check if the stack was created in CloudFormation?
I think the issue is in backend.dataall.cdkproxy.cdk_cli_wrapper.describe_stack
in line 199, where we use the stack.name
which includes the env_prefix
. The solution would be to pass the env_prefix
in the creation of the pipeline backend/dataall/cdkproxy/cdkpipeline/cdk_pipeline.py
in line 161 id = f"dataall-cdkpipeline-{pipeline.DataPipelineUri}"
The above solution has been implemented in PR #985
Closing this issue for now as remediated - please do open again or create a new issue if any further issues persist, thanks
Describe the bug
When creating a new pipeline, no matter which CICD strategy is selected, we are not able to create a pipeline.
The recommended action from the error is to bootstrap but it still persists after bootstrapping.
Error:
How to Reproduce
Create a pipeline. All 3 of the options produce the same error.
Expected behavior
Pipeline created successfully.
Your project
No response
Screenshots
No response
OS
n/a
Python version
3.7
AWS data.all version
1.5.5
Additional context
No response