Skip to content

cdk synth has issues with version mismatch #10

@deepanya-dts

Description

@deepanya-dts

When we run cdk synth --profile default then we get the below error in the command line

[WARNING] @aws-cdk/aws-kinesisfirehose-destinations-alpha.S3Bucket is deprecated.

This API will be removed in the next major release.
[WARNING] @aws-cdk/aws-kinesisfirehose-destinations-alpha.CommonDestinationS3Props#dataOutputPrefix is deprecated.

This API will be removed in the next major release.
[WARNING] @aws-cdk/aws-kinesisfirehose-destinations-alpha.CommonDestinationS3Props#errorOutputPrefix is deprecated.

This API will be removed in the next major release.
Traceback (most recent call last):
File "C:\Users\deepa\SoftwareDevelopment\amazonAds_MarketingStream\amazon-marketing-stream-examples\app.py", line 28, in
infra_rollout.rollout_stacks(app, config, delivery_type)
File "C:\Users\deepa\SoftwareDevelopment\amazonAds_MarketingStream\amazon-marketing-stream-examples\amz_stream_infra\infra_rollout.py", line 40, in rollout_stacks
AmzStreamConsumerStack(
File "C:\Users\deepa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\jsii_runtime.py", line 118, in call
inst = super(JSIIMeta, cast(JSIIMeta, cls)).call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\deepa\SoftwareDevelopment\amazonAds_MarketingStream\amazon-marketing-stream-examples\amz_stream_infra\stack_definitions.py", line 257, in init
self.stream_storage = StreamLanding(self, "Storage", ambassadors_config, dataset_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\deepa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\jsii_runtime.py", line 118, in call
inst = super(JSIIMeta, cast(JSIIMeta, cls)).call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\deepa\SoftwareDevelopment\amazonAds_MarketingStream\amazon-marketing-stream-examples\amz_stream_infra\stack_definitions.py", line 176, in init
self.firehose = firehose.DeliveryStream(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\deepa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\jsii_runtime.py", line 118, in call
inst = super(JSIIMeta, cast(JSIIMeta, cls)).call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeliveryStream.init() got an unexpected keyword argument 'destinations'

NOTICES (What's this? https://github.com/aws/aws-cdk/wiki/CLI-Notices)

32775 (cli): CLI versions and CDK library versions have diverged

    Overview: Starting in CDK 2.179.0, CLI versions will no longer be in
              lockstep with CDK library versions. CLI versions will now be
              released as 2.1000.0 and continue with 2.1001.0, etc.

    Affected versions: cli: >=2.0.0 <=2.1005.0

    More information at: https://github.com/aws/aws-cdk/issues/32775

If you don’t want to see a notice anymore, use "cdk acknowledge ". For example, "cdk acknowledge 32775".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions