Skip to content

ValAug/aws-databases-terraform

Repository files navigation

aws-databases-terraform

aws-databases-terraform

This repository create an AWS:

  • aws-databases-terraform

AWS diagram

Diagram

Cloud - ☁️

AWS

IaaC

Terraform

Prerequisites

  • You must have an AWS account, and have your CLI profile configuration.

  • You must have Terraform installed

Cautions

  • As an AWS best practice, grant this code least privilege, or only the permissions required to perform a task. For more information, see Grant Least Privilege in the AWS Identity and Access Management User Guide.
  • This code has been tested in ca-central-1 AWS Regions only. However it should work in any other region.
  • Running this code it might result in charges to your AWS account.

How to run this code

Quick Start

cd aws-databases-terraform
terraform init
terraform validate
terraform plan
terraform apply --auto-approve

Quick Destroy

terraform destroy --auto-approve

Steps to follow

  • clone this GitHub repository

  • cd to the the directory aws-databases-terraform

  • Terraform-commands:

    • terraform --help
    • terraform init Prepare your working directory for other commands
    • terraform validate Check whether the configuration is valid
    • terraform plan Show changes required by the current configuration
    • terraform apply Create or update infrastructure
    • Alternate command: terraform apply -auto-approve
    • terraform destroy Destroy previously-created infrastructure
    • Alternate command: terraform destroy -auto-approve
    • terraform fmt -recursive Reformat your configuration in the standard style

IoT-Core-databases-terraform mini project direction starts here:

AWS-IoT diagram

Diagram

1 - How to install aws cli latest version

Link-Here

2 - In the sensors.sh file, you will need to make a couple of modifications.

topic='<topic name>'
iterations=<number>
wait=<number>
region=<'region'>
profile='<add your aws-cli profile here>'

3 - Run this cli command sh sensors.sh

About

aws-databases-terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published