Skip to content

Instantly share code, notes, and snippets.

@lukaszkorecki
Created March 7, 2020 19:38

Revisions

  1. lukaszkorecki created this gist Mar 7, 2020.
    12 changes: 12 additions & 0 deletions service.tf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    module "something" {
    source = "./modules/service_v1"
    name = "bananas"
    image = "repo/image:tag"
    network_mode = "host"
    environment = {
    PORT = 3032,
    PG_HOST = module.pg.fqdn,
    SOME_SECRET = module.secrets["some_sekrit"].value,
    }

    }