File tree Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Original file line number Diff line number Diff line change 55 - image : hashicorp/terraform
66 steps :
77 - checkout
8- - run : terraform init
9- - run : terraform validate
8+ - run :
9+ working_directory : examples/test
10+ command : terraform init
11+ - run :
12+ working_directory : examples/test
13+ command : terraform validate
Original file line number Diff line number Diff line change 1+ provider "aws" {
2+ region = " us-east-1"
3+ }
4+
5+ module "td" {
6+ source = " ../../"
7+ name_preffix = " test"
8+ container_image = " ubuntu"
9+ container_name = " test"
10+ }
Original file line number Diff line number Diff line change 1- # ---------------------------------------------------------------------------------------------------------------------
2- # PROVIDER
3- # ---------------------------------------------------------------------------------------------------------------------
4- provider "aws" {
5- profile = var. profile
6- region = var. region
7- }
8-
91# ---------------------------------------------------------------------------------------------------------------------
102# AWS ECS Task Execution Role
113# ---------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -5,17 +5,6 @@ variable "name_preffix" {
55 description = " Name preffix for resources on AWS"
66}
77
8- # ---------------------------------------------------------------------------------------------------------------------
9- # AWS CREDENTIALS AND REGION
10- # ---------------------------------------------------------------------------------------------------------------------
11- variable "profile" {
12- description = " AWS API key credentials to use"
13- }
14-
15- variable "region" {
16- description = " AWS Region the infrastructure is hosted in"
17- }
18-
198# ---------------------------------------------------------------------------------------------------------------------
209# AWS ECS Container Definition Variables
2110# ---------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments