Skip to content

Commit

Permalink
Version bump for lambda module
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminlukeclark committed Dec 3, 2024
1 parent 267ae47 commit f5fea2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ It's counter may be considered to be [sudoblark.terraform.github](https://github
, which is an example mono-repo to manage all aspects of a single SaaS product in one place.

For now, the repo is intended to be used in workshops/conferences to demonstrate a data-structure driven approach
to Terraform - and as such the underlying modules are private, so cannot be initialised by anyone
outside of Sudoblark.
to Terraform.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Expand Down Expand Up @@ -238,14 +237,7 @@ cd infrastructure/example-account
export AWS_DEFAULT_PROFILE=<PROFILE-NAME>
```

3. For now, access to the Sudoblark GitHub org is required for the underlying modules,
so you'll need to use a GITHUB_TOKEN to download these modules:

```sh
export GITHUB_TOKEN=<TOKEN>
```

4. ZIP the lambda (Note in a production environment this would usually be done via CI/CD)
3. ZIP the lambda (Note in a production environment this would usually be done via CI/CD)

```sh
cd application/unzip-lambda/unzip_lambda
Expand All @@ -262,7 +254,7 @@ terraform plan
terraform apply
```

4. Simply tear-down when required
5. Simply tear-down when required

```sh
terraform destroy
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/modules/lambda/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
}

module "lambda" {
source = "github.com/sudoblark/sudoblark.terraform.module.aws.lambda?ref=1.0.0"
source = "github.com/sudoblark/sudoblark.terraform.module.aws.lambda?ref=1.0.1"
application_name = var.application_name
environment = var.environment
raw_lambdas = local.actual_raw_lambdas
Expand Down

0 comments on commit f5fea2e

Please sign in to comment.