Skip to content

Commit

Permalink
Update module version to 0.9.4 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
crhino authored Jan 10, 2023
1 parent 17918f4 commit c6f23f8
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 37 deletions.
4 changes: 2 additions & 2 deletions examples/hcp-ec2-demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand Down Expand Up @@ -67,7 +67,7 @@ resource "local_file" "ssh_key" {

module "aws_ec2_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ec2-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions examples/hcp-ecs-demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand All @@ -49,7 +49,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "aws_ecs_cluster" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ecs-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
6 changes: 3 additions & 3 deletions examples/hcp-eks-demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "hcp_hvn" "main" {
# Note: Uncomment the below module to setup peering for connecting to a private HCP Consul cluster
# module "aws_hcp_consul" {
# source = "hashicorp/hcp-consul/aws"
# version = "~> 0.9.3"
# version = "~> 0.9.4"
#
# hvn = hcp_hvn.main
# vpc_id = module.vpc.vpc_id
Expand All @@ -88,7 +88,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "eks_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-eks-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

boostrap_acl_token = hcp_consul_cluster_root_token.token.secret_id
cluster_id = hcp_consul_cluster.main.cluster_id
Expand All @@ -107,7 +107,7 @@ module "eks_consul_client" {
module "demo_app" {
count = var.install_demo_app ? 1 : 0
source = "hashicorp/hcp-consul/aws//modules/k8s-demo-app"
version = "~> 0.9.3"
version = "~> 0.9.4"

depends_on = [module.eks_consul_client]
}
4 changes: 2 additions & 2 deletions hcp-ui-templates/ec2-existing-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = local.vpc_id
Expand Down Expand Up @@ -86,7 +86,7 @@ resource "local_file" "ssh_key" {

module "aws_ec2_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ec2-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions hcp-ui-templates/ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand Down Expand Up @@ -101,7 +101,7 @@ resource "local_file" "ssh_key" {

module "aws_ec2_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ec2-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions hcp-ui-templates/ecs-existing-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = local.vpc_id
Expand All @@ -66,7 +66,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "aws_ecs_cluster" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ecs-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions hcp-ui-templates/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand All @@ -81,7 +81,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "aws_ecs_cluster" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ecs-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
6 changes: 3 additions & 3 deletions hcp-ui-templates/eks-existing-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ resource "hcp_hvn" "main" {
# Note: Uncomment the below module to setup peering for connecting to a private HCP Consul cluster
# module "aws_hcp_consul" {
# source = "hashicorp/hcp-consul/aws"
# version = "~> 0.9.3"
# version = "~> 0.9.4"
#
# hvn = hcp_hvn.main
# vpc_id = local.vpc_id
Expand All @@ -133,7 +133,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "eks_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-eks-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

boostrap_acl_token = hcp_consul_cluster_root_token.token.secret_id
cluster_id = hcp_consul_cluster.main.cluster_id
Expand All @@ -152,7 +152,7 @@ module "eks_consul_client" {
module "demo_app" {
count = local.install_demo_app ? 1 : 0
source = "hashicorp/hcp-consul/aws//modules/k8s-demo-app"
version = "~> 0.9.3"
version = "~> 0.9.4"

depends_on = [module.eks_consul_client]
}
Expand Down
6 changes: 3 additions & 3 deletions hcp-ui-templates/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ resource "hcp_hvn" "main" {
# Note: Uncomment the below module to setup peering for connecting to a private HCP Consul cluster
# module "aws_hcp_consul" {
# source = "hashicorp/hcp-consul/aws"
# version = "~> 0.9.3"
# version = "~> 0.9.4"
#
# hvn = hcp_hvn.main
# vpc_id = module.vpc.vpc_id
Expand All @@ -151,7 +151,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "eks_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-eks-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

boostrap_acl_token = hcp_consul_cluster_root_token.token.secret_id
cluster_id = hcp_consul_cluster.main.cluster_id
Expand All @@ -170,7 +170,7 @@ module "eks_consul_client" {
module "demo_app" {
count = local.install_demo_app ? 1 : 0
source = "hashicorp/hcp-consul/aws//modules/k8s-demo-app"
version = "~> 0.9.3"
version = "~> 0.9.4"

depends_on = [module.eks_consul_client]
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/module_version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

old="0\.9\.2"
new=0.9.3
old="0\.9\.3"
new=0.9.4

for platform in ec2 ecs eks; do
file=examples/hcp-$platform-demo/main.tf
Expand Down
4 changes: 2 additions & 2 deletions test/hcp/testdata/ec2-existing-vpc.golden
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = local.vpc_id
Expand Down Expand Up @@ -86,7 +86,7 @@ resource "local_file" "ssh_key" {

module "aws_ec2_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ec2-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions test/hcp/testdata/ec2.golden
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand Down Expand Up @@ -101,7 +101,7 @@ resource "local_file" "ssh_key" {

module "aws_ec2_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ec2-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions test/hcp/testdata/ecs-existing-vpc.golden
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = local.vpc_id
Expand All @@ -66,7 +66,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "aws_ecs_cluster" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ecs-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
4 changes: 2 additions & 2 deletions test/hcp/testdata/ecs.golden
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "hcp_hvn" "main" {

module "aws_hcp_consul" {
source = "hashicorp/hcp-consul/aws"
version = "~> 0.9.3"
version = "~> 0.9.4"

hvn = hcp_hvn.main
vpc_id = module.vpc.vpc_id
Expand All @@ -81,7 +81,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "aws_ecs_cluster" {
source = "hashicorp/hcp-consul/aws//modules/hcp-ecs-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

allowed_http_cidr_blocks = ["0.0.0.0/0"]
allowed_ssh_cidr_blocks = ["0.0.0.0/0"]
Expand Down
6 changes: 3 additions & 3 deletions test/hcp/testdata/eks-existing-vpc.golden
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ resource "hcp_hvn" "main" {
# Note: Uncomment the below module to setup peering for connecting to a private HCP Consul cluster
# module "aws_hcp_consul" {
# source = "hashicorp/hcp-consul/aws"
# version = "~> 0.9.3"
# version = "~> 0.9.4"
#
# hvn = hcp_hvn.main
# vpc_id = local.vpc_id
Expand All @@ -133,7 +133,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "eks_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-eks-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

boostrap_acl_token = hcp_consul_cluster_root_token.token.secret_id
cluster_id = hcp_consul_cluster.main.cluster_id
Expand All @@ -152,7 +152,7 @@ module "eks_consul_client" {
module "demo_app" {
count = local.install_demo_app ? 1 : 0
source = "hashicorp/hcp-consul/aws//modules/k8s-demo-app"
version = "~> 0.9.3"
version = "~> 0.9.4"

depends_on = [module.eks_consul_client]
}
Expand Down
6 changes: 3 additions & 3 deletions test/hcp/testdata/eks.golden
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ resource "hcp_hvn" "main" {
# Note: Uncomment the below module to setup peering for connecting to a private HCP Consul cluster
# module "aws_hcp_consul" {
# source = "hashicorp/hcp-consul/aws"
# version = "~> 0.9.3"
# version = "~> 0.9.4"
#
# hvn = hcp_hvn.main
# vpc_id = module.vpc.vpc_id
Expand All @@ -151,7 +151,7 @@ resource "hcp_consul_cluster_root_token" "token" {

module "eks_consul_client" {
source = "hashicorp/hcp-consul/aws//modules/hcp-eks-client"
version = "~> 0.9.3"
version = "~> 0.9.4"

boostrap_acl_token = hcp_consul_cluster_root_token.token.secret_id
cluster_id = hcp_consul_cluster.main.cluster_id
Expand All @@ -170,7 +170,7 @@ module "eks_consul_client" {
module "demo_app" {
count = local.install_demo_app ? 1 : 0
source = "hashicorp/hcp-consul/aws//modules/k8s-demo-app"
version = "~> 0.9.3"
version = "~> 0.9.4"

depends_on = [module.eks_consul_client]
}
Expand Down

0 comments on commit c6f23f8

Please sign in to comment.