This file contains 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 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 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 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 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 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 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 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
# This will be overridden at build time | |
ARG VERSION=2.0.6 | |
FROM microsoft/aspnetcore:$VERSION |
This file contains 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_ecs_service" "web" { | |
deployment_maximum_percent = 200 | |
deployment_minimum_healthy_percent = 70 | |
} |