on this repository you can found all code relationated with infrastructure for a water ai project
1.- Configure your new AWS profile for terraform (new-account
is an example name, you can use the same).
aws configure --profile new-account
aws configure list-profiles
aws ec2 describe-instances --profile new-account
before to create your aws account, youn need to refil your infrastructure/variables.tf
file for
make work the tf resources, you have an example on values.example
file.
cd infrastructure
terraform init
terraform plan
terraform apply
then copy the output called dns_name
and enjoy!
terraform destroy