Today I learnt ...
2023-12-18T17:00:11+00:00
Create a stack for a public S3 bucket and remove it
aws-cli
& AWS access credentials
-
Save this CloudFormation template to a file
howapped-storage-bucket.yml
AWSTemplateFormatVersion: "2010-09-09" Description: Welcome to Howapped Storage Resources: HowappedStorageBucket: Type: "AWS::S3::Bucket"
-
Create the stack
aws cloudformation create-stack --stack-name howapped-storage-bucket --template-body file://howapped-storage-bucket.yml
-
Check it exists
aws s3 ls | grep howapped-storage-bucket
-
Delete it
aws cloudformation delete-stack --stack-name howapped-storage-bucket