The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Python - AWS CDK - cdk deploy -- normal output -- Ran cdk diff in previous step (AWS CDK Workshop)
By Guest on 8th December 2022 04:13:45 PM | Syntax: PYTHON | Views: 191



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  1. Tutorial: AWS CDK Workshop: https://cdkworkshop.com/30-python/30-hello-cdk/200-lambda.html
  2.  
  3. --
  4.  
  5. (.venv) PS C:\projects\____python\z_Test\aws-cdk-lambda\cdk_workshop> cdk deploy
  6.  
  7. ✨  Synthesis time: 35.23s
  8.  
  9. cdk-workshop: building assets...
  10.  
  11. 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.
  12. [0%] start: Building 5f83e2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
  13. [0%] start: Building ff02cd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
  14. [50%] success: Built 5f83e2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
  15. [100%] success: Built ff02cd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
  16.  
  17. cdk-workshop: assets built
  18.  
  19. 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.
  20. (To get rid of this warning, please upgrade to bootstrap version >= 8)
  21. 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.
  22. This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening).
  23. Please confirm you intend to make the following modifications:
  24.  
  25. IAM Statement Changes
  26. ┌───┬─────────────────────────────────┬────────┬────────────────┬──────────────────────────────┬───────────┐
  27. │   │ Resource                        │ Effect │ Action         │ Principal                    │ Condition │
  28. ├───┼─────────────────────────────────┼────────┼────────────────┼──────────────────────────────┼───────────┤
  29. │ + │ ${HelloHandler/ServiceRole.Arn} │ Allow  │ sts:AssumeRole │ Service:lambda.amazonaws.com │           │
  30. └───┴─────────────────────────────────┴────────┴────────────────┴──────────────────────────────┴───────────┘
  31. IAM Policy Changes
  32. ┌───┬─────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
  33. │   │ Resource                    │ Managed Policy ARN                                                             │
  34. ├───┼─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
  35. │ + │ ${HelloHandler/ServiceRole} │ arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │
  36. └───┴─────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
  37. (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299)
  38.  
  39. Do you wish to deploy these changes (y/n)? y
  40. cdk-workshop: deploying... [1/1]
  41. 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.
  42. [0%] start: Publishing xxxxe2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
  43. [0%] start: Publishing xxxxcd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
  44. 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.
  45. 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.
  46. [50%] success: Published xxxxd10a05e9733575ed79992864b6b1bc40e9091c66a96e1c8b1932dd637b3:current_account-current_region
  47. [100%] success: Published xxxxe2a8bc7ca79afcc300d45df613dd32db40aa141b1ab5d88b910f3dbd995e:current_account-current_region
  48. cdk-workshop: creating CloudFormation changeset...
  49. cdk-workshop | 0/4 | 1:16:44 AM | REVIEW_IN_PROGRESS   | AWS::CloudFormation::Stack | cdk-workshop User Initiated
  50. cdk-workshop | 0/4 | 1:16:50 AM | CREATE_IN_PROGRESS   | AWS::CloudFormation::Stack | cdk-workshop User Initiated
  51. cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS   | AWS::CDK::Metadata    | CDKMetadata/Default (CDKMetadata)
  52. cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS   | AWS::IAM::Role        | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63)
  53. cdk-workshop | 0/4 | 1:16:55 AM | CREATE_IN_PROGRESS   | AWS::IAM::Role        | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63) Resource creation Initiated
  54. cdk-workshop | 0/4 | 1:16:56 AM | CREATE_IN_PROGRESS   | AWS::CDK::Metadata    | CDKMetadata/Default (CDKMetadata) Resource creation Initiated
  55. cdk-workshop | 1/4 | 1:16:56 AM | CREATE_COMPLETE      | AWS::CDK::Metadata    | CDKMetadata/Default (CDKMetadata)
  56. cdk-workshop | 2/4 | 1:17:13 AM | CREATE_COMPLETE      | AWS::IAM::Role        | HelloHandler/ServiceRole (HelloHandlerServiceRole11EF7C63)
  57. cdk-workshop | 2/4 | 1:17:15 AM | CREATE_IN_PROGRESS   | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D)
  58. cdk-workshop | 2/4 | 1:17:17 AM | CREATE_IN_PROGRESS   | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D) Resource creation Initiated
  59. cdk-workshop | 3/4 | 1:17:23 AM | CREATE_COMPLETE      | AWS::Lambda::Function | HelloHandler (HelloHandler2E4FBA4D)
  60. cdk-workshop | 4/4 | 1:17:24 AM | CREATE_COMPLETE      | AWS::CloudFormation::Stack | cdk-workshop
  61.  
  62.  ✅  cdk-workshop
  63.  
  64. ✨  Deployment time: 48.52s
  65.  
  66. Stack ARN:
  67. arn:aws:cloudformation:us-east-1:xxxx:stack/cdk-workshop/xxxx-76d9-11ed-ae6f-0ee6fe91c731
  68.  
  69. ✨  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
  • Recent Pastes