#!/usr/bin/env bash

aws s3api create-bucket \
   --bucket automatictester.co.uk-lightning-aws-lambda-tf-state \
   --acl private \
   --region eu-west-2 \
   --create-bucket-configuration LocationConstraint=eu-west-2

aws s3api put-public-access-block \
   --bucket automatictester.co.uk-lightning-aws-lambda-tf-state \
   --public-access-block-configuration '{"BlockPublicAcls":true,"IgnorePublicAcls":true,"BlockPublicPolicy":true,"RestrictPublicBuckets":true}'

Add shell script to create TF state S3 bucket
Add shell script to create TF state S3 bucket
