Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devopsartfactory/terraform-provisioning
https://github.com/devopsartfactory/terraform-provisioning
terraform terraform-aws terraform-master-class
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devopsartfactory/terraform-provisioning
- Owner: DevopsArtFactory
- Created: 2024-08-18T01:54:23.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T00:33:48.000Z (about 2 months ago)
- Last Synced: 2024-11-17T01:19:08.788Z (about 2 months ago)
- Topics: terraform, terraform-aws, terraform-master-class
- Language: HCL
- Homepage:
- Size: 282 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-provisioning
Terraform Sytle Guide(https://github.com/jonbrouse/terraform-style-guide/blob/master/README.md)**Table of Contents**
- [Introduction](#introduction)
- [Syntax](#syntax)
- [Spacing](#spacing)
- [Resource Block Alignment](#resource-block-alignment)
- [Comments](#comments)
- [Organizing Variables](#organizing-variables)
- [Naming Conventions](#naming-conventions)
- [File Names](#file-names)
- [Parameter, Meta-parameter and Variable Naming](#parameter-meta-parameter-and-variable-naming)
- [Resource Naming](#resource-naming)
- [Policies as Data Sources](#policies-as-data-sources)## Introduction
This repository gives coding conventions for Terraform's HashiCorp Configuration Language (HCL). Terraform allows infrastructure to be described as code. As such, we should adhere to a style guide to ensure readable and high quality code.
## Syntax
- Strings are in double-quotes.
### Spacing
Use 2 spaces when defining resources except when defining inline policies or other inline resources.
```
resource "aws_iam_role" "iam_role" {
name = "${var.resource_name}-role"
assume_role_policy = <