This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: DirectConnect Gateways are global (#513)
- Loading branch information
Showing
8 changed files
with
40 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Resource: directconnect.gateways | ||
ALTER TABLE IF EXISTS "aws_directconnect_gateways" ADD COLUMN IF NOT EXISTS "region" text; | ||
|
||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
DROP CONSTRAINT aws_directconnect_gateways_pk; | ||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
ADD CONSTRAINT aws_directconnect_gateways_pk PRIMARY KEY (account_id,region,id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Resource: directconnect.gateways | ||
TRUNCATE aws_directconnect_gateways CASCADE; | ||
|
||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
DROP CONSTRAINT aws_directconnect_gateways_pk; | ||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
ADD CONSTRAINT aws_directconnect_gateways_pk PRIMARY KEY (account_id,id); | ||
|
||
ALTER TABLE IF EXISTS "aws_directconnect_gateways" DROP COLUMN IF EXISTS "region"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Resource: directconnect.gateways | ||
ALTER TABLE IF EXISTS "aws_directconnect_gateways" ADD COLUMN IF NOT EXISTS "region" text; | ||
|
||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
DROP CONSTRAINT aws_directconnect_gateways_pk; | ||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
ADD CONSTRAINT aws_directconnect_gateways_pk PRIMARY KEY (cq_fetch_date,account_id,region,id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Resource: directconnect.gateways | ||
TRUNCATE aws_directconnect_gateways CASCADE; | ||
|
||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
DROP CONSTRAINT aws_directconnect_gateways_pk; | ||
ALTER TABLE IF EXISTS aws_directconnect_gateways | ||
ADD CONSTRAINT aws_directconnect_gateways_pk PRIMARY KEY (cq_fetch_date,account_id,id); | ||
|
||
ALTER TABLE IF EXISTS "aws_directconnect_gateways" DROP COLUMN IF EXISTS "region"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters