You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
757 B

  1. import boto3
  2. ################################################################################################
  3. #
  4. # Configuration Parameters
  5. #
  6. ################################################################################################
  7. region = 'eu-central-1'
  8. stackName = 'cloudcomp-counter-demo-stack'
  9. ################################################################################################
  10. #
  11. # boto3 code
  12. #
  13. ################################################################################################
  14. client = boto3.setup_default_session(region_name=region)
  15. cfClient = boto3.client('cloudformation')
  16. print("Deleting stack...")
  17. print("------------------------------------")
  18. response = cfClient.delete_stack(
  19. StackName=stackName,
  20. )