Skip to content

Commit 2cb5577

Browse files
author
Ben Fortuna
committed
Fixed errors
1 parent 678cac6 commit 2cb5577

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ all: test docs format
99
clean:
1010
rm -rf .terraform/
1111

12-
test:
13-
$(TERRAFORM) init && $(TERRAFORM) validate
12+
init:
13+
$(TERRAFORM) init
14+
15+
test: init
16+
$(TERRAFORM) validate
1417

1518
nginx:
1619
$(TERRAFORM) init modules/nginx && $(TERRAFORM) plan modules/nginx

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Purpose: Defaults for ECR repositories.
44

5+
Requirements: To execute the image import the execution environment must have the following installed:
6+
* Docker
7+
* AWS CLI
8+
59
## Requirements
610

711
No requirements.

import.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ EOF
4949

5050
locals {
5151
import_triggers = {
52-
once = "once"
53-
weekly = tonumber(formatdate("", timestamp())) / 4
52+
once = "once"
53+
// weekly = tonumber(formatdate("", timestamp())) / 4
5454
daily = formatdate("DD", timestamp())
5555
hourly = formatdate("hhZ", timestamp())
5656
always = timestamp()

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
* # ![AWS](aws-logo.png) ECR Repository
33
*
44
* Purpose: Defaults for ECR repositories.
5+
*
6+
* Requirements: To execute the image import the execution environment must have the following installed:
7+
* * Docker
8+
* * AWS CLI
59
*/
610
resource "aws_ecr_repository" "repository" {
711
name = var.name

0 commit comments

Comments
 (0)