- AWS account
- Terraform installed
- AWS CLI installed
- AWS CLI configured with your credentials
- Create a directory for your project and change into it.
- Create a file named
main.tf
and add the following code to it:
provider "aws" {
region = "us-east-1"
}
resource "aws_sns_topic" "devops-ex-8" {
name = "devops-ex-8"
}