This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker build --build-arg VERSION=${version} . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |-- .editorconfig | |
| |-- .gitattributes | |
| |-- .gitignore | |
| |-- Jenkinsfile | |
| |-- README.md | |
| |-- scripts | |
| | |-- run_terraform_deployer.sh | |
| `-- src | |
| |-- config.tf | |
| |-- data_sources.tf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| variable "instance_type" { | |
| type = "map" | |
| default = { | |
| test = "m4.large" | |
| uat = "m4.large" | |
| prod = "m4.xlarge" | |
| } | |
| } | |
| // <...> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Always LF for bash scripts | |
| *.sh text eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_cloudformation_stack" "autoscaling_group" { | |
| name = "${var.cfn_stack_name}" | |
| template_body = <<EOF | |
| Description: "${var.cfn_stack_description}" | |
| Resources: | |
| ASG: | |
| Type: AWS::AutoScaling::AutoScalingGroup | |
| Properties: | |
| VPCZoneIdentifier: ["${join("\",\"", var.subnets)}"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Always LF | |
| *.sh text eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [*.sh] | |
| end_of_line = lf | |
| indent_size = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env groovy | |
| infraPipeline() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # some env vars here | |
| STARTED_BY="$(date +"%T") - $USERNAME" | |
| AWS_DEFAULT_REGION="${REGION}" | |
| TASK_ID="" |