Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Using the Repo Source

```hcl
github.com/pbs/terraform-aws-lambda-module?ref=1.4.0
github.com/pbs/terraform-aws-lambda-module?ref=x.y.z
```

### Alternative Installation Methods
Expand All @@ -22,7 +22,7 @@ Integrate this module like so:

```hcl
module "role" {
source = "github.com/pbs/terraform-aws-lambda-module?ref=1.4.0"
source = "github.com/pbs/terraform-aws-lambda-module?ref=x.y.z"

handler = "main"
filename = "../artifacts/handler.zip"
Expand All @@ -42,7 +42,7 @@ module "role" {

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

`1.4.0`
`x.y.z`

Note, however that subtrees can be altered as desired within repositories.

Expand Down
2 changes: 1 addition & 1 deletion examples/docker/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "ecr" {
source = "github.com/pbs/terraform-aws-ecr-module?ref=0.3.0"
source = "github.com/pbs-common/terraform-aws-ecr-module?ref=0.3.0"

// Just to make testing easier
image_tag_mutability = "MUTABLE"
Expand Down
27 changes: 27 additions & 0 deletions examples/docker/main.tf.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module "ecr" {
source = "github.com/pbs/terraform-aws-ecr-module?ref=0.3.0"

// Just to make testing easier
image_tag_mutability = "MUTABLE"

force_delete = true

environment = var.environment
product = var.product
repo = var.repo
organization = var.organization
}

module "lambda" {
source = "../.."

image_uri = "${module.ecr.repo_url}:latest"
package_type = "Image"

architectures = ["arm64"]

environment = var.environment
product = var.product
repo = var.repo
organization = var.organization
}