https://github.com/blackboxvision/aws-terraform
Test of an AWS Infra using Terraform
https://github.com/blackboxvision/aws-terraform
aws aws-terraform infrastructure terraform
Last synced: about 1 month ago
JSON representation
Test of an AWS Infra using Terraform
- Host: GitHub
- URL: https://github.com/blackboxvision/aws-terraform
- Owner: BlackBoxVision
- License: mit
- Created: 2018-02-22T01:27:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T01:53:59.000Z (over 8 years ago)
- Last Synced: 2025-01-20T08:50:01.134Z (over 1 year ago)
- Topics: aws, aws-terraform, infrastructure, terraform
- Language: HCL
- Size: 3.91 KB
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## AWS Terraform POC
### How to run it
First you should go to Terraform website (https://www.terraform.io/downloads.html) and download the correct binary for your OS and follow the instructions.
And then simply run`terraform apply`
### Project files
#### main.tf
Contains the creation of the infrastructure, it creates the connection to AWS, in order to create the instances and security groups in use for those instances.
#### variables.tf
Contains all the variables that are used in the main file.
#### output.tf
Contains all the outputs that will be shown once the `terraform apply` command exits.
In this file you can print all the useful data from the infrastructure that you just created.
### Configuration specific files
#### \*.auto.tfvars
Contains all the values that will override the variable defined in `variables.tf` file.
In the variables file, there are two kinds of variables, the required (The ones equal to {}) or the optional (The ones that has a default value set)
Those values can be overriden in a key = value format.
For example, to override the AWS_ACCESS_KEY var, you need to write something like this in your .auto.tfvars file:
`AWS_ACCESS_KEY = "SUPERSTRONGANDAWESOMEACCESSKEY"`