diff --git a/examples/hcp-ec2-demo/main.tf b/examples/hcp-ec2-demo/main.tf index cbe917a..42448b2 100644 --- a/examples/hcp-ec2-demo/main.tf +++ b/examples/hcp-ec2-demo/main.tf @@ -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 @@ -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"] diff --git a/examples/hcp-ecs-demo/main.tf b/examples/hcp-ecs-demo/main.tf index d1eed8c..d74fa16 100644 --- a/examples/hcp-ecs-demo/main.tf +++ b/examples/hcp-ecs-demo/main.tf @@ -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 @@ -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"] diff --git a/examples/hcp-eks-demo/main.tf b/examples/hcp-eks-demo/main.tf index 0e8f93b..5b59798 100644 --- a/examples/hcp-eks-demo/main.tf +++ b/examples/hcp-eks-demo/main.tf @@ -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 @@ -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 @@ -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] } diff --git a/hcp-ui-templates/ec2-existing-vpc/main.tf b/hcp-ui-templates/ec2-existing-vpc/main.tf index 686c6e7..5c2609f 100644 --- a/hcp-ui-templates/ec2-existing-vpc/main.tf +++ b/hcp-ui-templates/ec2-existing-vpc/main.tf @@ -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 @@ -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"] diff --git a/hcp-ui-templates/ec2/main.tf b/hcp-ui-templates/ec2/main.tf index a000518..19e5949 100644 --- a/hcp-ui-templates/ec2/main.tf +++ b/hcp-ui-templates/ec2/main.tf @@ -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 @@ -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"] diff --git a/hcp-ui-templates/ecs-existing-vpc/main.tf b/hcp-ui-templates/ecs-existing-vpc/main.tf index 49d6116..d54c71b 100644 --- a/hcp-ui-templates/ecs-existing-vpc/main.tf +++ b/hcp-ui-templates/ecs-existing-vpc/main.tf @@ -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 @@ -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"] diff --git a/hcp-ui-templates/ecs/main.tf b/hcp-ui-templates/ecs/main.tf index 68d7261..b07d25e 100644 --- a/hcp-ui-templates/ecs/main.tf +++ b/hcp-ui-templates/ecs/main.tf @@ -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 @@ -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"] diff --git a/hcp-ui-templates/eks-existing-vpc/main.tf b/hcp-ui-templates/eks-existing-vpc/main.tf index 5357b97..5cf5a7e 100644 --- a/hcp-ui-templates/eks-existing-vpc/main.tf +++ b/hcp-ui-templates/eks-existing-vpc/main.tf @@ -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 @@ -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 @@ -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] } diff --git a/hcp-ui-templates/eks/main.tf b/hcp-ui-templates/eks/main.tf index e1c5297..3e4ab3b 100644 --- a/hcp-ui-templates/eks/main.tf +++ b/hcp-ui-templates/eks/main.tf @@ -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 @@ -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 @@ -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] } diff --git a/scripts/module_version.sh b/scripts/module_version.sh index 105e7a1..bcaa0a5 100755 --- a/scripts/module_version.sh +++ b/scripts/module_version.sh @@ -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 diff --git a/test/hcp/testdata/ec2-existing-vpc.golden b/test/hcp/testdata/ec2-existing-vpc.golden index 0ab2898..3d4fe81 100644 --- a/test/hcp/testdata/ec2-existing-vpc.golden +++ b/test/hcp/testdata/ec2-existing-vpc.golden @@ -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 @@ -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"] diff --git a/test/hcp/testdata/ec2.golden b/test/hcp/testdata/ec2.golden index 4e21f79..0967a76 100644 --- a/test/hcp/testdata/ec2.golden +++ b/test/hcp/testdata/ec2.golden @@ -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 @@ -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"] diff --git a/test/hcp/testdata/ecs-existing-vpc.golden b/test/hcp/testdata/ecs-existing-vpc.golden index b09bdfc..1a70705 100644 --- a/test/hcp/testdata/ecs-existing-vpc.golden +++ b/test/hcp/testdata/ecs-existing-vpc.golden @@ -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 @@ -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"] diff --git a/test/hcp/testdata/ecs.golden b/test/hcp/testdata/ecs.golden index ef4efbc..d1a928a 100644 --- a/test/hcp/testdata/ecs.golden +++ b/test/hcp/testdata/ecs.golden @@ -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 @@ -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"] diff --git a/test/hcp/testdata/eks-existing-vpc.golden b/test/hcp/testdata/eks-existing-vpc.golden index 2dc8f5b..ca956c4 100644 --- a/test/hcp/testdata/eks-existing-vpc.golden +++ b/test/hcp/testdata/eks-existing-vpc.golden @@ -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 @@ -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 @@ -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] } diff --git a/test/hcp/testdata/eks.golden b/test/hcp/testdata/eks.golden index 32f7fd1..05c2d70 100644 --- a/test/hcp/testdata/eks.golden +++ b/test/hcp/testdata/eks.golden @@ -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 @@ -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 @@ -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] }