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 diff -- normal output -- Ran cdk bootstrap in previous step (AWS CDK Workshop)
By Guest on 8th December 2022 04:10:25 PM | Syntax: PYTHON | Views: 184



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. PS C:\projects\____python\z_Test\aws-cdk-lambda\cdk_workshop> . ./.venv/Scripts/activate
  6.  
  7. (.venv) PS C:\projects\____python\z_Test\aws-cdk-lambda\cdk_workshop> cdk diff
  8.  
  9. Stack cdk-workshop
  10. current credentials could not be used to assume 'arn:aws:iam::xxxxx:role/cdk-xxxx59fds-lookup-role-249934578875-us-east-1', but are for the right account. Proceeding anyway.
  11. (To get rid of this warning, please upgrade to bootstrap version >= 8)
  12. current credentials could not be used to assume 'arn:aws:iam::xxxxx:role/cdk-xxxx59fds-deploy-role-249934578875-us-east-1', but are for the right account. Proceeding anyway.
  13. IAM Statement Changes
  14. ┌───┬─────────────────────────────────┬────────┬────────────────┬──────────────────────────────┬───────────┐
  15. │   │ Resource                        │ Effect │ Action         │ Principal                    │ Condition │
  16. ├───┼─────────────────────────────────┼────────┼────────────────┼──────────────────────────────┼───────────┤
  17. │ + │ ${HelloHandler/ServiceRole.Arn} │ Allow  │ sts:AssumeRole │ Service:lambda.amazonaws.com │           │
  18. └───┴─────────────────────────────────┴────────┴────────────────┴──────────────────────────────┴───────────┘
  19. IAM Policy Changes
  20. ┌───┬─────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
  21. │   │ Resource                    │ Managed Policy ARN                                                             │
  22. ├───┼─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
  23. │ + │ ${HelloHandler/ServiceRole} │ arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │
  24. └───┴─────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
  25. (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299)
  26.  
  27. Parameters
  28. nvironment, automatically retrieved from SSM Parameter Store. [cdk:skip]"}
  29.  
  30. Conditions
  31. [+] Condition CDKMetadata/Condition CDKMetadataAvailable: {"Fn::Or":[{"Fn::Or":[{"Fn::Equals":[{"Ref":"AWS::Region"},"af-south-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-east-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-northeast-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-northeast-2"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-south-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-southeast-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ap-southeast-2"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"ca-central-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"cn-north-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"cn-northwest-1"]}]},{"Fn::Or":[{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-central-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-north-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-south-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-west-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-west-2"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"eu-west-3"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"me-south-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"sa-east-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"us-east-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"us-east-2"]}]},{"Fn::Or":[{"Fn::Equals":[{"Ref":"AWS::Region"},"us-west-1"]},{"Fn::Equals":[{"Ref":"AWS::Region"},"us-west-2"]}]}]}
  32.  
  33. Resources
  34. [+] AWS::IAM::Role HelloHandler/ServiceRole HelloHandlerServiceRole11EF7C63
  35. [+] AWS::Lambda::Function HelloHandler HelloHandler2E4FBA4D
  36.  
  37. Other Changes
  38. [+] Unknown Rules: {"CheckBootstrapVersion":{"Assertions":[{"Assert":{"Fn::Not":[{"Fn::Contains":[["1","2","3","4","5"],{"Ref":"BootstrapVersion"}]}]},"AssertDescription":"CDK bootstrap stack version 6
  39. required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."}]}}
















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