Terraform Module Block Syntax

From NovaOrdis Knowledge Base
Revision as of 20:35, 28 February 2020 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Example

module "some-module" {

  source = "terraform-aws-modules/eks/aws"
  version = "~> 9.0"

  cluster_name = local.cluster_name
  vpc_id = var.aws_vpc_id

  ...

  tags = {
    Environment = var.environment_name
  }
}