Skip to content

Commit

Permalink
Initial Terraform Project
Browse files Browse the repository at this point in the history
* Completes the badge URLs
* Adds a short discription to the Readme
* Updates the module usage
* Bumps the reqiured Terraform version to 1.6.2
* Removes unwanted files
  • Loading branch information
Stretch96 committed Nov 1, 2023
1 parent 4093379 commit dc21399
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 44 deletions.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# <REPLACE WITH USEFUL TERRAFORM DESCRIPTION>
# Terraform dxw Dalmatian infrastructure

[![Terraform CI](./actions/workflows/continuous-integration-terraform.yml/badge.svg?branch=main)](./actions/workflows/continuous-integration-terraform.yml?branch=main)
[![GitHub release](./releases)](./releases)
[![Terraform CI](https://github.com/dxw/terraform-dxw-dalmatian-infrastructure/actions/workflows/continuous-integration-terraform.yml/badge.svg?branch=main)](https://github.com/dxw/terraform-dxw-dalmatian-infrastructure/actions/workflows/continuous-integration-terraform.yml?branch=main)
[![GitHub release](https://github.com/dxw/terraform-dxw-dalmatian-infrastructure/releases)](https://github.com/dxw/terraform-dxw-dalmatian-infrastructure/releases)

This <module/project> creates and manages <REPLACE WITH MAIN RESOURCE NAMES/URLS>.
This project creates and manages resources within an AWS account for infrastructures on dxw's Dalmatian hosting platform.

## Usage

Example module usage:

```hcl
module "<MODULE NAME>" {
source = "github.com/<ORG>/<MODULE NAME>?ref=v<VERSION>"
environment = "dev/staging/test/pre-prod/prod/post-prod"
source = "github.com/dxw/terraform-dxw-dalmatian-infrastructure?ref=v<VERSION>"
}
```

Expand All @@ -22,7 +20,7 @@ module "<MODULE NAME>" {

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.6.2 |

## Providers

Expand All @@ -34,13 +32,9 @@ No resources.

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_environment"></a> [environment](#input\_environment) | Environment name | `string` | n/a | yes |
No inputs.

## Outputs

| Name | Description |
|------|-------------|
| <a name="output_environment"></a> [environment](#output\_environment) | n/a |
No outputs.
<!-- END_TF_DOCS -->
8 changes: 0 additions & 8 deletions backend.tf.aws-s3.example

This file was deleted.

3 changes: 0 additions & 3 deletions backend.tf.azure-storage.example

This file was deleted.

5 changes: 0 additions & 5 deletions backend.vars.azure-storeage.example

This file was deleted.

1 change: 0 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
locals {
environment = var.environment
}
5 changes: 0 additions & 5 deletions moved.tf

This file was deleted.

3 changes: 0 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
output "environment" {
value = local.environment
}
4 changes: 0 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
variable "environment" {
description = "Environment name"
type = string
}
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.5.3"
required_version = ">= 1.6.2"
required_providers {
}
}

0 comments on commit dc21399

Please sign in to comment.