https://github.com/madh93/hello-terraform
Basic "Hello World" example in Terraform
https://github.com/madh93/hello-terraform
example hello-world terrafrom
Last synced: 4 months ago
JSON representation
Basic "Hello World" example in Terraform
- Host: GitHub
- URL: https://github.com/madh93/hello-terraform
- Owner: Madh93
- License: mit
- Created: 2024-03-13T19:17:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T19:17:13.000Z (about 2 years ago)
- Last Synced: 2026-02-21T09:59:48.811Z (4 months ago)
- Topics: example, hello-world, terrafrom
- Language: HCL
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello Terraform
[](https://lbesson.mit-license.org/)
Basic "Hello World" example in Terraform provisioning a local file.
## Requirements
- [Terraform](https://developer.hashicorp.com/terraform/install)
## Usage
Clone the repository and initialize the project:
```shell
terraform init
```
Review the Terraform execution plan:
```shell
terraform plan
```
Apply the Terraform configuration to provision resources:
```shell
terraform apply
```
After Terraform has finished applying the configuration, you should see the output indicating the resources that were created. In this case, a `hello.txt` file.
To clean up and destroy the resources created by Terraform, run:
```shell
terraform destroy
```
## Useful Links
- [Terraform](https://www.terraform.io/)
- [Terraform Docs](https://developer.hashicorp.com/terraform/docs)
- [Terraform Tutorials](https://developer.hashicorp.com/terraform/tutorials)
## License
This project is licensed under the [MIT license](LICENSE).