diff --git a/elasticache.tf b/elasticache.tf index 7f5ac7b..bf9dd00 100644 --- a/elasticache.tf +++ b/elasticache.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "aws_security_group" "default" { name_prefix = "${var.namespace}" vpc_id = "${aws_vpc.default.id}" diff --git a/network.tf b/network.tf index 578bfde..d07c3c8 100644 --- a/network.tf +++ b/network.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Create a VPC to launch our instances into resource "aws_vpc" "default" { cidr_block = "${var.vpc_cidr_block}" diff --git a/output.tf b/output.tf index 843f99a..283f3cf 100644 --- a/output.tf +++ b/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "configuration_endpoint_address" { value = "${aws_elasticache_replication_group.default.configuration_endpoint_address}" } diff --git a/ssh.tf b/ssh.tf index e7773c2..695f3df 100644 --- a/ssh.tf +++ b/ssh.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Get the list of official Canonical Ubuntu 16.04 AMIs data "aws_ami" "ubuntu-1604" { most_recent = true diff --git a/terraform.tfvars b/terraform.tfvars index fead1cf..0045a6d 100644 --- a/terraform.tfvars +++ b/terraform.tfvars @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + namespace = "elasticache-tutorial" cluster_id = "redis-cluster" diff --git a/variables.tf b/variables.tf index 459de93..8c4db88 100644 --- a/variables.tf +++ b/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "vpc_cidr_block" { description = "The top-level CIDR block for the VPC." default = "10.1.0.0/16"