Issue 165: Revert goldenfiles for internet_gateway_multiple

main
Louis TOUSSAINT 2021-05-19 12:59:29 +02:00
parent abe938b0cd
commit 9f89dac6f2
6 changed files with 20 additions and 20 deletions

View File

@ -48,10 +48,10 @@ func TestInternetGatewaySupplier_Resources(t *testing.T) {
mocks: func(repo *repository.MockEC2Repository) { mocks: func(repo *repository.MockEC2Repository) {
repo.On("ListAllInternetGateways").Once().Return([]*ec2.InternetGateway{ repo.On("ListAllInternetGateways").Once().Return([]*ec2.InternetGateway{
{ {
InternetGatewayId: awssdk.String("igw-025e25487b9ee553b"), InternetGatewayId: awssdk.String("igw-0184eb41aadc62d1c"),
}, },
{ {
InternetGatewayId: awssdk.String("igw-0aa10b4e92738d8ed"), InternetGatewayId: awssdk.String("igw-047b487f5c60fca99"),
}, },
}, nil) }, nil)
}, },

View File

@ -0,0 +1,5 @@
{
"Typ": "WyJvYmplY3QiLHsiYXJuIjoic3RyaW5nIiwiaWQiOiJzdHJpbmciLCJvd25lcl9pZCI6InN0cmluZyIsInRhZ3MiOlsibWFwIiwic3RyaW5nIl0sInZwY19pZCI6InN0cmluZyJ9XQ==",
"Val": "eyJhcm4iOiJhcm46YXdzOmVjMjpldS13ZXN0LTM6MDQ3MDgxMDE0MzE1OmludGVybmV0LWdhdGV3YXkvaWd3LTAxODRlYjQxYWFkYzYyZDFjIiwiaWQiOiJpZ3ctMDE4NGViNDFhYWRjNjJkMWMiLCJvd25lcl9pZCI6IjA0NzA4MTAxNDMxNSIsInRhZ3MiOnsiTmFtZSI6Im1haW4ifSwidnBjX2lkIjoidnBjLTBmM2FjMmI3OTA5YjZiZWRkIn0=",
"Err": null
}

View File

@ -1,5 +0,0 @@
{
"Typ": "WyJvYmplY3QiLHsiYXJuIjoic3RyaW5nIiwiaWQiOiJzdHJpbmciLCJvd25lcl9pZCI6InN0cmluZyIsInRhZ3MiOlsibWFwIiwic3RyaW5nIl0sInZwY19pZCI6InN0cmluZyJ9XQ==",
"Val": "eyJhcm4iOiJhcm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c5OSIsInRhZ3MiOnsiTmFtZSI6Im1haW4ifSwidnBjX2lkIjoidnBjLTBkMGQ2ZDliNzRmZWU0MmY1In0=",
"Err": null
}

View File

@ -1,20 +1,20 @@
[ [
{ {
"arn": "arn:aws:ec2:eu-west-3:726421854799:internet-gateway/igw-025e25487b9ee553b", "arn": "arn:aws:ec2:eu-west-3:047081014315:internet-gateway/igw-047b487f5c60fca99",
"id": "igw-025e25487b9ee553b", "id": "igw-047b487f5c60fca99",
"owner_id": "726421854799", "owner_id": "047081014315",
"tags": { "tags": {
"Name": "foo" "Name": "foo"
}, },
"vpc_id": "vpc-0433f3ac59d5a5d52" "vpc_id": "vpc-0a41660dc86c8de5e"
}, },
{ {
"arn": "arn:aws:ec2:eu-west-3:726421854799:internet-gateway/igw-0aa10b4e92738d8ed", "arn": "arn:aws:ec2:eu-west-3:047081014315:internet-gateway/igw-0184eb41aadc62d1c",
"id": "igw-0aa10b4e92738d8ed", "id": "igw-0184eb41aadc62d1c",
"owner_id": "726421854799", "owner_id": "047081014315",
"tags": { "tags": {
"Name": "main" "Name": "main"
}, },
"vpc_id": "vpc-0d0d6d9b74fee42f5" "vpc_id": "vpc-0f3ac2b7909b6bedd"
} }
] ]