8000 fix snapshots · localstack/localstack@de72fa9 · GitHub
[go: up one dir, main page]

Skip to content

Commit de72fa9

Browse files
committed
fix snapshots
1 parent 45adabb commit de72fa9

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tests/integration/cloudformation/resources/test_iam.snapshot.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818
}
1919
},
2020
"tests/integration/cloudformation/resources/test_iam.py::test_managed_policy_with_empty_resource": {
21-
"recorded-date": "05-09-2022, 10:01:53",
21+
"recorded-date": "11-07-2023, 18:10:41",
2222
"recorded-content": {
2323
"outputs": {
24-
"PolicyArn": "arn:aws:iam::111111111111:policy/<resource:1>",
25-
"StreamARN": "arn:aws:dynamodb:<region>:111111111111:table/<resource:3>/stream/<resource:2>",
26-
"TableARN": "arn:aws:dynamodb:<region>:111111111111:table/<resource:3>",
27-
"TableName": "<resource:3>"
24+
"PolicyArn": "arn:aws:iam::111111111111:policy/<policy-name:1>",
25+
"StreamARN": "arn:aws:dynamodb:<region>:111111111111:table/<resource:2>/stream/<resource:1>",
26+
"TableARN": "arn:aws:dynamodb:<region>:111111111111:table/<resource:2>",
27+
"TableName": "<resource:2>"
2828
},
2929
"managed_policy": {
3030
"Policy": {
31-
"Arn": "arn:aws:iam::111111111111:policy/<resource:1>",
31+
"Arn": "arn:aws:iam::111111111111:policy/<policy-name:1>",
3232
"AttachmentCount": 0,
3333
"CreateDate": "datetime",
3434
"DefaultVersionId": "v1",
3535
"IsAttachable": true,
3636
"Path": "/",
3737
"PermissionsBoundaryUsageCount": 0,
3838
"PolicyId": "<policy-id:1>",
39-
"PolicyName": "<resource:1>",
39+
"PolicyName": "<policy-name:1>",
4040
"Tags": [],
4141
"UpdateDate": "datetime"
4242
},

tests/integration/cloudformation/resources/test_sam.snapshot.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"tests/integration/cloudformation/resources/test_sam.py::test_sam_policies": {
3-
"recorded-date": "02-06-2022, 13:13:20",
3+
"recorded-date": "11-07-2023, 18:08:53",
44
"recorded-content": {
55
"list_attached_role_policies": {
66
"AttachedPolicies": [
77
{
8-
"PolicyName": "AWSLambdaBasicExecutionRole",
9-
"PolicyArn": "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
8+
"PolicyArn": "arn:aws:iam::aws:policy/service-role/<policy-name:1>",
9+
"PolicyName": "<policy-name:1>"
1010
},
1111
{
12-
"PolicyName": "AmazonSNSFullAccess",
13-
"PolicyArn": "arn:aws:iam::aws:policy/AmazonSNSFullAccess"
12+
"PolicyArn": "arn:aws:iam::aws:policy/<policy-name:2>",
13+
"PolicyName": "<policy-name:2>"
1414
}
1515
],
1616
"IsTruncated": false,
1717
"ResponseMetadata": {
18-
"HTTPStatusCode": 200,
19-
"HTTPHeaders": {}
18+
"HTTPHeaders": {},
19+
"HTTPStatusCode": 200
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)
0