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.
 
 
 
 
 

18 lines
454 B

import json
import time
import boto3
from botocore.exceptions import ClientError
region = 'eu-central-1'
stackName = 'cloudcomp-counter-demo-stack'
client = boto3.setup_default_session(region_name=region)
cfClient = boto3.client('cloudformation')
print("Showing stack...")
print("------------------------------------")
response = cfClient.describe_stacks(
StackName=stackName,
)
print(json.dumps(response, indent=4, sort_keys=True, default=str))