- Tutorial: AWS CDK Workshop: https://cdkworkshop.com/30-python/30-hello-cdk/200-lambda.html
- --
- (.venv) PS C:\projects\____python\z_Test\aws-cdk-lambda\cdk_workshop> cdk deploy
- ✨ Synthesis time: 35.23s
- cdk-workshop: building assets...
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-deploy-role-xxxx-us-east-1', but are for the right account. Proceeding anyway.
- [0%] start: Building 5f83e2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
- [0%] start: Building ff02cd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
- [50%] success: Built 5f83e2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
- [100%] success: Built ff02cd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
- cdk-workshop: assets built
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-lookup-role-xxxx-us-east-1', but are for the right account. Proceeding anyway.
- (To get rid of this warning, please upgrade to bootstrap version >= 8)
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-deploy-role-xxxx-us-east-1', but are for the right account. Proceeding anyway.
- This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening).
- Please confirm you intend to make the following modifications:
- IAM Statement Changes
- ┌───┬─────────────────────────────────┬────────┬────────────────┬──────────────────────────────┬───────────┐
- │ │ Resource │ Effect │ Action │ Principal │ Condition │
- ├───┼─────────────────────────────────┼────────┼────────────────┼──────────────────────────────┼───────────┤
- │ + │ ${HelloHandler/ServiceRole.Arn} │ Allow │ sts:AssumeRole │ Service:lambda.amazonaws.com │ │
- └───┴─────────────────────────────────┴────────┴────────────────┴──────────────────────────────┴───────────┘
- IAM Policy Changes
- ┌───┬─────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
- │ │ Resource │ Managed Policy ARN │
- ├───┼─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
- │ + │ ${HelloHandler/ServiceRole} │ arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │
- └───┴─────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
- (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299)
- Do you wish to deploy these changes (y/n)? y
- cdk-workshop: deploying... [1/1]
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-deploy-role-xxxx-us-east-1', but are for the right account. Proceeding anyway.
- [0%] start: Publishing xxxxe2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
- [0%] start: Publishing xxxxcd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-file-publishing-role-249934578875-us-east-1', but are for the right account. Proceeding anyway.
- current credentials could not be used to assume 'arn:aws:iam::xxxx:role/cdk-hnb659fds-file-publishing-role-249934578875-us-east-1', but are for the right account. Proceeding anyway.
- [50%] success: Published xxxxd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
- [100%] success: Published xxxxe2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
- cdk-workshop: creating CloudFormation changeset...
- cdk-workshop | 0/4 | 1:16:44 AM | REVIEW_IN_PROGRESS | AWS::CloudFormation::Stack | cdk-workshop User Initiated
- cdk-workshop | 0/4 | 1:16:50 AM | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | cdk-workshop User Initiated
- cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
- cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63)
- cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63) Resource creation Initiated
- cdk-workshop | 0/4 | 1:16:56 AM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata) Resource creation Initiated
- cdk-workshop | 1/4 | 1:16:56 AM | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
- cdk-workshop | 2/4 | 1:17:13 AM | CREATE_COMPLETE | AWS::IAM::Role | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63)
- cdk-workshop | 2/4 | 1:17:15 AM | CREATE_IN_PROGRESS | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D)
- cdk-workshop | 2/4 | 1:17:17 AM | CREATE_IN_PROGRESS | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D) Resource creation Initiated
- cdk-workshop | 3/4 | 1:17:23 AM | CREATE_COMPLETE | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D)
- cdk-workshop | 4/4 | 1:17:24 AM | CREATE_COMPLETE | AWS::CloudFormation::Stack | cdk-workshop
- ✅ cdk-workshop
- ✨ Deployment time: 48.52s
- Stack ARN:
- arn:aws:cloudformation:us-east-1:xxxx:stack/cdk-workshop/xxxx-76d9-11ed-ae6f-0ee6fe91c731
- ✨ Total time: 83.75s
Python software and documentation are licensed under the PSF License Agreement.
Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Agreement and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses. The licenses are listed with code falling under that license. See Licenses and Acknowledgements for Incorporated Software for an incomplete list of these licenses.
Python and it's documentation is:
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
Copyright © 2000 BeOpen.com. All rights reserved.
Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
See History and License for complete license and permissions information:
https://docs.python.org/3/license.html#psf-license