Skip to content

Commit 972ec5e

Browse files
authored
Remove cluster_security_groups (#17)
* Remove cluster_security_groups cluster_security_groups was removed in AWS Provider v5 https://registry.terraform.io/providers/BigEyeLabs/aws-test/latest/docs/guides/version-5-upgrade#data-sourceaws_redshift_cluster * Remove from example * Update docs * 3 -> 5 * Update
1 parent 51bb789 commit 972ec5e

File tree

7 files changed

+96
-209
lines changed

7 files changed

+96
-209
lines changed

README.md

+91-193
Large diffs are not rendered by default.

docs/terraform.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
| Name | Version |
55
|------|---------|
66
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14 |
7-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
7+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.0 |
88

99
## Providers
1010

1111
| Name | Version |
1212
|------|---------|
13-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
13+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.0 |
1414

1515
## Modules
1616

@@ -88,7 +88,6 @@
8888
| <a name="output_cluster_identifier"></a> [cluster\_identifier](#output\_cluster\_identifier) | The Cluster Identifier |
8989
| <a name="output_cluster_parameter_group_name"></a> [cluster\_parameter\_group\_name](#output\_cluster\_parameter\_group\_name) | The name of the parameter group to be associated with this cluster |
9090
| <a name="output_cluster_revision_number"></a> [cluster\_revision\_number](#output\_cluster\_revision\_number) | The specific revision number of the database in the cluster |
91-
| <a name="output_cluster_security_groups"></a> [cluster\_security\_groups](#output\_cluster\_security\_groups) | The security groups associated with the cluster |
9291
| <a name="output_cluster_subnet_group_name"></a> [cluster\_subnet\_group\_name](#output\_cluster\_subnet\_group\_name) | The name of a cluster subnet group to be associated with this cluster |
9392
| <a name="output_cluster_type"></a> [cluster\_type](#output\_cluster\_type) | The cluster type |
9493
| <a name="output_database_name"></a> [database\_name](#output\_database\_name) | The name of the default database in the Cluster |

examples/complete/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aws" {
44

55
module "vpc" {
66
source = "cloudposse/vpc/aws"
7-
version = "1.1.0"
7+
version = "2.1.1"
88

99
ipv4_primary_cidr_block = "172.19.0.0/16"
1010

examples/complete/outputs.tf

-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ output "vpc_security_group_ids" {
4343
value = module.redshift_cluster.vpc_security_group_ids
4444
}
4545

46-
output "cluster_security_groups" {
47-
description = "The security groups associated with the cluster"
48-
value = module.redshift_cluster.cluster_security_groups
49-
}
50-
5146
output "endpoint" {
5247
description = "The connection endpoint"
5348
value = module.redshift_cluster.endpoint

examples/complete/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.0"
7+
version = ">= 5.0"
88
}
99
}
1010
}

outputs.tf

-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ output "vpc_security_group_ids" {
4343
value = local.enabled ? concat([], aws_redshift_cluster.default[*].vpc_security_group_ids) : null
4444
}
4545

46-
output "cluster_security_groups" {
47-
description = "The security groups associated with the cluster"
48-
value = local.enabled ? concat([], aws_redshift_cluster.default[*].cluster_security_groups) : null
49-
}
50-
5146
output "endpoint" {
5247
description = "The connection endpoint"
5348
value = local.enabled ? join("", aws_redshift_cluster.default[*].endpoint) : null

versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.0"
7+
version = ">= 5.0"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)