Skip to content

Commit

Permalink
Merge pull request #20 from descomplicando-terraform/ecr
Browse files Browse the repository at this point in the history
chore: update ecr module version to receive a list of ecrs repositories
  • Loading branch information
jhtoigo authored Oct 11, 2024
2 parents ef260fb + 6ddfe5e commit a160874
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tf_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
terraform-validate:
name: Terraform Validation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Foram utilizados módulos prórios que podem ser acessados em:

| Name | Source | Version |
|------|--------|---------|
| <a name="module_ecr"></a> [ecr](#module\_ecr) | git::https://github.com/jhtoigo/terraform-aws-ecr.git | v1.0.1 |
| <a name="module_ecr"></a> [ecr](#module\_ecr) | git::https://github.com/jhtoigo/terraform-aws-ecr.git | v2.0.0 |
| <a name="module_ecs"></a> [ecs](#module\_ecs) | git::https://github.com/jhtoigo/terraform-aws-ecs-cluster.git | v1.1.2 |
| <a name="module_load_balancer"></a> [load\_balancer](#module\_load\_balancer) | git::https://github.com/jhtoigo/terraform-aws-load-balancer.git | v1.2.0 |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | git::https://github.com/jhtoigo/terraform-aws-vpc.git | v1.3.1 |
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module "ecs" {
}

module "ecr" {
source = "git::https://github.com/jhtoigo/terraform-aws-ecr.git?ref=v1.0.1"
ecr_repository = "linuxtips-tf-final-dev-produto"
source = "git::https://github.com/jhtoigo/terraform-aws-ecr.git?ref=v2.0.0"
ecr_repositories = ["linuxtips-tf-final-dev-produto", "linuxtips-tf-final-dev-produto2"]
}

resource "aws_service_discovery_http_namespace" "main" {
Expand Down

0 comments on commit a160874

Please sign in to comment.