Sunday 16 February 2020

How to create S3 bucket using Cloud Formation(CF) templates

First, you have to check you are authorized to create a bucket or not.
and check your policy summary 
and search for slack defined in your ( for me it is: policy.cellbio-pringles-xtra-*)
remember your slack name always start with the string given on your policy.
Upload your file and create it.
{
    "AWSTemplateFormatVersion""2010-09-09",
    "Resources": {
     
    "cellbio" : {
      "Type" "AWS::S3::Bucket"
      }
      }
now go to s3 and check your bucket is ready to use.