#!/usr/bin/env python3

import os
import boto3
import yaml

here = os.path.dirname(__file__)
temp_body = os.path.join(here, 'example.yml')
#temp_body = 'example.yml'

cfn = boto3.client('cloudformation')


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(
      StackName=stackname,
      DisableRollback=True,
      TemplateBody=temp_body,
      Capabilities=capabilities)
	  
if __name__=="__main__":
    main()
        

020fd7db9db6e5bfc6ba66376a7e83c0f331a206
<mask token>


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(StackName=stackname, DisableRollback=True,
        TemplateBody=temp_body, Capabilities=capabilities)


<mask token>

<mask token>


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(StackName=stackname, DisableRollback=True,
        TemplateBody=temp_body, Capabilities=capabilities)


if __name__ == '__main__':
    main()

<mask token>
here = os.path.dirname(__file__)
temp_body = os.path.join(here, 'example.yml')
cfn = boto3.client('cloudformation')


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(StackName=stackname, DisableRollback=True,
        TemplateBody=temp_body, Capabilities=capabilities)


if __name__ == '__main__':
    main()

import os
import boto3
import yaml
here = os.path.dirname(__file__)
temp_body = os.path.join(here, 'example.yml')
cfn = boto3.client('cloudformation')


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(StackName=stackname, DisableRollback=True,
        TemplateBody=temp_body, Capabilities=capabilities)


if __name__ == '__main__':
    main()

#!/usr/bin/env python3

import os
import boto3
import yaml

here = os.path.dirname(__file__)
temp_body = os.path.join(here, 'example.yml')
#temp_body = 'example.yml'

cfn = boto3.client('cloudformation')


def main():
    stackname = 'example-deploy'
    capabilities = ['CAPABILITY_IAM', 'CAPABILITY_AUTO_EXPAND']
    stackdata = cfn.create_stack(
      StackName=stackname,
      DisableRollback=True,
      TemplateBody=temp_body,
      Capabilities=capabilities)
	  
if __name__=="__main__":
    main()
        
