Skip to content

Commit

Permalink
chore(rds): deprecate aurora mysql version 1 for mysql 5.6 (aws#31551)
Browse files Browse the repository at this point in the history
### Reason for this change



Aurora MySQL version 1 for MySQL 5.6 is deprecated now.

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.11Updates.html

### Description of changes



Deprecated the version and no longer use the version in integ tests.

### Description of how you validated changes



### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
go-to-k authored Oct 25, 2024
1 parent 40f07ae commit 84d71a4
Show file tree
Hide file tree
Showing 34 changed files with 1,337 additions and 976 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"VPCPublicSubnet1SubnetB4246D30": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"AvailabilityZone": {
"Fn::Select": [
0,
Expand All @@ -44,21 +41,24 @@
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/PublicSubnet1"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCPublicSubnet1RouteTableFEE4B781": {
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"Tags": [
{
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/PublicSubnet1"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
Expand All @@ -75,12 +75,12 @@
"VPCPublicSubnet1DefaultRoute91CEF279": {
"Type": "AWS::EC2::Route",
"Properties": {
"RouteTableId": {
"Ref": "VPCPublicSubnet1RouteTableFEE4B781"
},
"DestinationCidrBlock": "0.0.0.0/0",
"GatewayId": {
"Ref": "VPCIGWB7E252D3"
},
"RouteTableId": {
"Ref": "VPCPublicSubnet1RouteTableFEE4B781"
}
},
"DependsOn": [
Expand All @@ -90,9 +90,6 @@
"VPCPublicSubnet2Subnet74179F39": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"AvailabilityZone": {
"Fn::Select": [
1,
Expand All @@ -116,21 +113,24 @@
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/PublicSubnet2"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCPublicSubnet2RouteTable6F1A15F1": {
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"Tags": [
{
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/PublicSubnet2"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCPublicSubnet2RouteTableAssociation5A808732": {
Expand All @@ -147,12 +147,12 @@
"VPCPublicSubnet2DefaultRouteB7481BBA": {
"Type": "AWS::EC2::Route",
"Properties": {
"RouteTableId": {
"Ref": "VPCPublicSubnet2RouteTable6F1A15F1"
},
"DestinationCidrBlock": "0.0.0.0/0",
"GatewayId": {
"Ref": "VPCIGWB7E252D3"
},
"RouteTableId": {
"Ref": "VPCPublicSubnet2RouteTable6F1A15F1"
}
},
"DependsOn": [
Expand All @@ -162,9 +162,6 @@
"VPCIsolatedSubnet1SubnetEBD00FC6": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"AvailabilityZone": {
"Fn::Select": [
0,
Expand Down Expand Up @@ -210,7 +207,10 @@
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/IsolatedSubnet1"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
},
"DependsOn": [
"Ipv6CidrBlock"
Expand All @@ -219,15 +219,15 @@
"VPCIsolatedSubnet1RouteTableEB156210": {
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"Tags": [
{
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/IsolatedSubnet1"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCIsolatedSubnet1RouteTableAssociationA2D18F7C": {
Expand All @@ -244,9 +244,6 @@
"VPCIsolatedSubnet2Subnet4B1C8CAA": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"AvailabilityZone": {
"Fn::Select": [
1,
Expand Down Expand Up @@ -292,7 +289,10 @@
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/IsolatedSubnet2"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
},
"DependsOn": [
"Ipv6CidrBlock"
Expand All @@ -301,15 +301,15 @@
"VPCIsolatedSubnet2RouteTable9B4F78DC": {
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"Tags": [
{
"Key": "Name",
"Value": "aws-cdk-rds-cluster-dual-integ/VPC/IsolatedSubnet2"
}
]
],
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"VPCIsolatedSubnet2RouteTableAssociation7BF8E0EB": {
Expand Down Expand Up @@ -337,21 +337,21 @@
"VPCVPCGW99B986DC": {
"Type": "AWS::EC2::VPCGatewayAttachment",
"Properties": {
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"InternetGatewayId": {
"Ref": "VPCIGWB7E252D3"
},
"VpcId": {
"Ref": "VPCB9E5F0B4"
}
}
},
"Ipv6CidrBlock": {
"Type": "AWS::EC2::VPCCidrBlock",
"Properties": {
"AmazonProvidedIpv6CidrBlock": true,
"VpcId": {
"Ref": "VPCB9E5F0B4"
},
"AmazonProvidedIpv6CidrBlock": true
}
}
},
"DualstackClusterSubnets00EA466E": {
Expand Down Expand Up @@ -387,15 +387,15 @@
"DualstackCluster84A5FE37": {
"Type": "AWS::RDS::DBCluster",
"Properties": {
"Engine": "aurora-mysql",
"CopyTagsToSnapshot": true,
"DBClusterParameterGroupName": "default.aurora-mysql8.0",
"DBSubnetGroupName": {
"Ref": "DualstackClusterSubnets00EA466E"
},
"EngineVersion": "8.0.mysql_aurora.3.02.0",
"MasterUsername": "admin",
"Engine": "aurora-mysql",
"EngineVersion": "8.0.mysql_aurora.3.07.1",
"MasterUserPassword": "7959866cacc02c2d243ecfe177464fe6",
"MasterUsername": "admin",
"NetworkType": "DUAL",
"VpcSecurityGroupIds": [
{
Expand Down Expand Up @@ -482,15 +482,15 @@
"Ipv4Cluster5F67A28A": {
"Type": "AWS::RDS::DBCluster",
"Properties": {
"Engine": "aurora-mysql",
"CopyTagsToSnapshot": true,
"DBClusterParameterGroupName": "default.aurora-mysql8.0",
"DBSubnetGroupName": {
"Ref": "Ipv4ClusterSubnets5BD573AA"
},
"EngineVersion": "8.0.mysql_aurora.3.02.0",
"MasterUsername": "admin",
"Engine": "aurora-mysql",
"EngineVersion": "8.0.mysql_aurora.3.07.1",
"MasterUserPassword": "7959866cacc02c2d243ecfe177464fe6",
"MasterUsername": "admin",
"NetworkType": "IPV4",
"VpcSecurityGroupIds": [
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 84d71a4

Please sign in to comment.