Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update terratest to '>= 0.46.0' #184

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions examples/complete/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ output "hostname" {
}

output "public_subnet_cidrs" {
value = module.subnets.public_subnet_cidrs
value = module.subnets.public_subnet_cidrs
description = "Public subnet cidrs"
}

output "private_subnet_cidrs" {
value = module.subnets.private_subnet_cidrs
value = module.subnets.private_subnet_cidrs
description = "Private subnet cidrs"
}

output "vpc_cidr" {
value = module.vpc.vpc_cidr_block
value = module.vpc.vpc_cidr_block
description = "VPC cidrs"
}
3 changes: 2 additions & 1 deletion examples/complete/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ variable "region" {
}

variable "availability_zones" {
type = list(string)
description = "The AZ for the RDS instance. Specify one of `subnet_ids`, `db_subnet_group_name` or `availability_zone`. If `availability_zone` is provided, the instance will be placed into the default VPC or EC2 Classic"
type = list(string)
}

variable "database_name" {
Expand Down
9 changes: 6 additions & 3 deletions examples/mssql/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ output "hostname" {
}

output "public_subnet_cidrs" {
value = module.subnets.public_subnet_cidrs
value = module.subnets.public_subnet_cidrs
description = "Public subnet cidrs"
}

output "private_subnet_cidrs" {
value = module.subnets.private_subnet_cidrs
value = module.subnets.private_subnet_cidrs
description = "Private subnet cidrs"
}

output "vpc_cidr" {
value = module.vpc.vpc_cidr_block
value = module.vpc.vpc_cidr_block
description = "VPC cidrs"
}
3 changes: 2 additions & 1 deletion examples/mssql/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ variable "region" {
}

variable "availability_zones" {
type = list(string)
type = list(string)
description = "The AZ for the RDS instance. Specify one of `subnet_ids`, `db_subnet_group_name` or `availability_zone`. If `availability_zone` is provided, the instance will be placed into the default VPC or EC2 Classic"
}

variable "namespace" {
Expand Down
66 changes: 59 additions & 7 deletions test/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,64 @@
module github.com/cloudposse/terraform-aws-rds

go 1.14
go 1.21

toolchain go1.22.3

require (
github.com/gruntwork-io/terratest v0.46.15
github.com/stretchr/testify v1.8.4
)

require (
github.com/aws/aws-sdk-go v1.36.9 // indirect
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/gruntwork-io/terratest v0.31.3
github.com/pquerna/otp v1.3.0 // indirect
github.com/stretchr/testify v1.4.0
cloud.google.com/go v0.110.0 // indirect
cloud.google.com/go/compute v1.19.1 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
cloud.google.com/go/storage v1.29.0 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.7.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-getter v1.7.4 // indirect
github.com/hashicorp/go-multierror v1.1.0 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/hcl/v2 v2.9.1 // indirect
github.com/hashicorp/terraform-json v0.13.0 // indirect
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/tmccombs/hcl2json v0.3.3 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/zclconf/go-cty v1.9.1 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.114.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading