Skip to content

Commit 7b487a5

Browse files
committed
fix patches
1 parent 7c74d83 commit 7b487a5

5 files changed

+30
-30
lines changed

patches/0019-Revert-r-aws_db_proxy-Change-auth-from-TypeList-to-T.patch

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -392,14 +392,41 @@ index 884f83084b..0856302c30 100644
392392
recovery_window_in_days = 0
393393
}
394394

395-
@@ -952,46 +954,18 @@ resource "aws_secretsmanager_secret_version" "test2" {
395+
@@ -952,18 +954,18 @@ resource "aws_secretsmanager_secret_version" "test2" {
396396
secret_id = aws_secretsmanager_secret.test2.id
397397
secret_string = "{\"username\":\"db_user\",\"password\":\"db_user_password\"}"
398398
}
399399
-`, rName, nName))
400+
+`, rName, nName)
401+
}
402+
403+
-func testAccProxyConfig_tags1(rName, tagKey1, tagValue1 string) string {
404+
- return acctest.ConfigCompose(testAccProxyConfig_base(rName), fmt.Sprintf(`
405+
+func testAccProxyConfig_tags(rName, key, value string) string {
406+
+ return acctest.ConfigCompose(testAccProxyBaseConfig(rName), fmt.Sprintf(`
407+
resource "aws_db_proxy" "test" {
408+
depends_on = [
409+
aws_secretsmanager_secret_version.test,
410+
aws_iam_role_policy.test
411+
]
412+
413+
- name = %[1]q
414+
+ name = "%[1]s"
415+
engine_family = "MYSQL"
416+
role_arn = aws_iam_role.test.arn
417+
vpc_security_group_ids = [aws_security_group.test.id]
418+
@@ -977,37 +979,8 @@ resource "aws_db_proxy" "test" {
419+
}
420+
421+
tags = {
422+
- %[2]q = %[3]q
423+
+ %[2]s = "%[3]s"
424+
}
425+
}
426+
-`, rName, tagKey1, tagValue1))
400427
-}
401428
-
402-
-func testAccProxyConfig_tags1(rName, tagKey1, tagValue1 string) string {
429+
-func testAccProxyConfig_tags2(rName, tagKey1, tagValue1, tagKey2, tagValue2 string) string {
403430
- return acctest.ConfigCompose(testAccProxyConfig_base(rName), fmt.Sprintf(`
404431
-resource "aws_db_proxy" "test" {
405432
- depends_on = [
@@ -422,36 +449,9 @@ index 884f83084b..0856302c30 100644
422449
-
423450
- tags = {
424451
- %[2]q = %[3]q
452+
- %[4]q = %[5]q
425453
- }
426454
-}
427-
-`, rName, tagKey1, tagValue1))
428-
+`, rName, nName)
429-
}
430-
431-
-func testAccProxyConfig_tags2(rName, tagKey1, tagValue1, tagKey2, tagValue2 string) string {
432-
- return acctest.ConfigCompose(testAccProxyConfig_base(rName), fmt.Sprintf(`
433-
+func testAccProxyConfig_tags(rName, key, value string) string {
434-
+ return acctest.ConfigCompose(testAccProxyBaseConfig(rName), fmt.Sprintf(`
435-
resource "aws_db_proxy" "test" {
436-
depends_on = [
437-
aws_secretsmanager_secret_version.test,
438-
aws_iam_role_policy.test
439-
]
440-
441-
- name = %[1]q
442-
+ name = "%[1]s"
443-
engine_family = "MYSQL"
444-
role_arn = aws_iam_role.test.arn
445-
vpc_security_group_ids = [aws_security_group.test.id]
446-
@@ -1005,9 +979,8 @@ resource "aws_db_proxy" "test" {
447-
}
448-
449-
tags = {
450-
- %[2]q = %[3]q
451-
- %[4]q = %[5]q
452-
+ %[2]s = "%[3]s"
453-
}
454-
}
455455
-`, rName, tagKey1, tagValue1, tagKey2, tagValue2))
456456
+`, rName, key, value))
457457
}

patches/0047-Adapt-gamelift-matchmaking-resources.patch

Whitespace-only changes.

patches/0052-Restore-AWS-Go-SDK-v1-session.patch

Whitespace-only changes.

patches/0056-restore-conns-to-awsclient.patch

Whitespace-only changes.

patches/0059-Apply-tags-patches.patch

Whitespace-only changes.

0 commit comments

Comments
 (0)