Skip to content

Pull in changes from byu-oit/generator-fullstack-app #694

@GaryGSC

Description

@GaryGSC

BYU's full stack team adapted this template repo for their own purposes as part of byu-oit/generator-fullstack-app (sorry, it's a private repo).

They probably created it to bake in some opinions (see #214). There are some things that look like bikeshedding at first glance (like renaming /terraform-iac to /iac) as well as some obvious enhancements, like what they're doing with test_env_var_overrides in their postman_test_lambda:

module "postman_test_lambda" {
  source   = "github.com/byu-oit/terraform-aws-postman-test-lambda?ref=v4.0.0"
  app_name = "${local.repo_name}-${var.env}"
  postman_collections = [
    {
      collection  = var.deploy_test_postman_collection
      environment = null
    }
  ]
  # set the context here so that we don't need 10+ environment.json files
  test_env_var_overrides = {
    context : "https://${module.my_fargate_api.dns_record.name}:4443"
  }
  role_permissions_boundary_arn = module.acs.role_permissions_boundary.arn
}

While we may or may not be able to include all of the opinions, I like the idea of keeping the codebases close together. There are some enhancements we can take from that repo and vice versa.

I'm open to the little changes like renaming /terraform-iac and I'd absolutely like to pull in the improvements like test_env_var_overrides. I think I see README improvements, too. I'd need to go through the commit history or look at the code with a fine-toothed comb, but it looks like the team has made good changes.

I'm treating this as a tracking issue. I may close it when the repos reach near-parity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions