@intentius/chant-lexicon-aws 0.124.51 → 0.124.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codegen/generate-lexicon.d.ts +2 -0
- package/dist/codegen/generate-lexicon.d.ts.map +1 -1
- package/dist/codegen/generate-lexicon.js +1 -0
- package/dist/components/__tests__/mock-cloud-executor.d.ts +4 -0
- package/dist/components/__tests__/mock-cloud-executor.d.ts.map +1 -1
- package/dist/components/__tests__/mock-cloud-executor.js +18 -1
- package/dist/components/apply.d.ts +76 -3
- package/dist/components/apply.d.ts.map +1 -1
- package/dist/components/apply.js +488 -32
- package/dist/components/cfn-adopt.d.ts +99 -0
- package/dist/components/cfn-adopt.d.ts.map +1 -0
- package/dist/components/cfn-adopt.js +278 -0
- package/dist/components/cfn-imports.d.ts +84 -0
- package/dist/components/cfn-imports.d.ts.map +1 -0
- package/dist/components/cfn-imports.js +239 -0
- package/dist/components/cloud-executor.d.ts +44 -2
- package/dist/components/cloud-executor.d.ts.map +1 -1
- package/dist/components/cloud-executor.js +73 -2
- package/dist/importable.d.ts +30 -0
- package/dist/importable.d.ts.map +1 -0
- package/dist/importable.js +72 -0
- package/dist/index-identity.d.ts +19 -0
- package/dist/index-identity.d.ts.map +1 -0
- package/dist/index-identity.js +79 -0
- package/dist/index-import.d.ts +17 -0
- package/dist/index-import.d.ts.map +1 -0
- package/dist/index-import.js +115 -0
- package/dist/integrity.json +3 -3
- package/dist/listed-types.d.ts +11 -0
- package/dist/listed-types.d.ts.map +1 -0
- package/dist/listed-types.js +52 -0
- package/dist/manifest.json +1 -1
- package/dist/meta.json +13206 -1237
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +9 -0
- package/dist/reference-catalog.d.ts.map +1 -1
- package/dist/reference-catalog.js +62 -20
- package/dist/spec/fetch.d.ts +5 -0
- package/dist/spec/fetch.d.ts.map +1 -1
- package/dist/spec/parse.d.ts +8 -0
- package/dist/spec/parse.d.ts.map +1 -1
- package/dist/spec/parse.js +3 -0
- package/package.json +2 -2
- package/src/codegen/generate-lexicon.ts +3 -0
- package/src/components/__tests__/mock-cloud-executor.ts +20 -1
- package/src/components/apply.ts +546 -33
- package/src/components/cfn-adopt.test.ts +284 -0
- package/src/components/cfn-adopt.ts +340 -0
- package/src/components/cfn-exports-in-use.test.ts +146 -0
- package/src/components/cfn-imports-preview.test.ts +178 -0
- package/src/components/cfn-imports-three-stacks.test.ts +107 -0
- package/src/components/cfn-imports.test.ts +213 -0
- package/src/components/cfn-imports.ts +246 -0
- package/src/components/cfn-plan-floci.e2e.test.ts +53 -0
- package/src/components/cfn-plan-shape-conformance.test.ts +83 -0
- package/src/components/cfn-plan.test.ts +328 -9
- package/src/components/cloud-executor.ts +119 -6
- package/src/components/demo-composed-stacks-floci.e2e.test.ts +235 -0
- package/src/derived-edges.test.ts +142 -0
- package/src/generated/lexicon-aws.json +13206 -1237
- package/src/importable.test.ts +86 -0
- package/src/importable.ts +83 -0
- package/src/index-identity.test.ts +134 -0
- package/src/index-identity.ts +98 -0
- package/src/index-import.test.ts +242 -0
- package/src/index-import.ts +140 -0
- package/src/index-search.test.ts +87 -0
- package/src/listed-types.test.ts +97 -0
- package/src/listed-types.ts +56 -0
- package/src/plugin.ts +10 -0
- package/src/reference-catalog.ts +63 -20
- package/src/spec/fetch.ts +5 -0
- package/src/spec/parse.test.ts +15 -0
- package/src/spec/parse.ts +12 -0
- package/src/testdata/indexed/identity.listing.json +65 -0
- package/src/testdata/indexed/import.listing.json +126 -0
- package/src/testdata/indexed/listing.json +69 -0
- package/src/testdata/indexed/topology.listing.json +350 -0
- package/src/testdata/three-cloud/dns.graph.json +336 -0
- package/src/three-cloud-parity.test.ts +49 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"listing": "v1",
|
|
3
|
+
"source": { "name": "behold-lister", "version": "0.0.0-fixture" },
|
|
4
|
+
"scope": {
|
|
5
|
+
"substrate": "aws",
|
|
6
|
+
"scopeId": "000000000000",
|
|
7
|
+
"locations": ["us-east-1"],
|
|
8
|
+
"types": ["AWS::EC2::Instance", "AWS::IAM::Role", "AWS::S3::Bucket", "AWS::SQS::Queue"]
|
|
9
|
+
},
|
|
10
|
+
"startedAt": "2026-10-26T09:00:00.000Z",
|
|
11
|
+
"completedAt": "2026-10-26T09:00:03.000Z",
|
|
12
|
+
"resources": [
|
|
13
|
+
{
|
|
14
|
+
"listedType": "AWS::S3::Bucket",
|
|
15
|
+
"location": "us-east-1",
|
|
16
|
+
"nativeId": "cli-made-assets",
|
|
17
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:s3:::cli-made-assets" }, { "kind": "import-id", "value": "cli-made-assets" }],
|
|
18
|
+
"tags": {},
|
|
19
|
+
"properties": { "BucketName": "cli-made-assets", "Arn": "arn:aws:s3:::cli-made-assets" },
|
|
20
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"listedType": "AWS::IAM::Role",
|
|
24
|
+
"location": "global",
|
|
25
|
+
"nativeId": "cli-made-role",
|
|
26
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:iam::000000000000:role/cli-made-role" }, { "kind": "import-id", "value": "cli-made-role" }],
|
|
27
|
+
"tags": {},
|
|
28
|
+
"properties": {
|
|
29
|
+
"RoleName": "cli-made-role",
|
|
30
|
+
"Arn": "arn:aws:iam::000000000000:role/cli-made-role",
|
|
31
|
+
"AssumeRolePolicyDocument": { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" }] }
|
|
32
|
+
},
|
|
33
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"listedType": "AWS::SQS::Queue",
|
|
37
|
+
"location": "us-east-1",
|
|
38
|
+
"nativeId": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/cli-made-queue",
|
|
39
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:sqs:us-east-1:000000000000:cli-made-queue" }],
|
|
40
|
+
"tags": {},
|
|
41
|
+
"properties": {
|
|
42
|
+
"QueueName": "cli-made-queue",
|
|
43
|
+
"QueueUrl": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/cli-made-queue",
|
|
44
|
+
"Arn": "arn:aws:sqs:us-east-1:000000000000:cli-made-queue"
|
|
45
|
+
},
|
|
46
|
+
"observedAt": "2026-10-26T09:00:02.000Z"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"listedType": "AWS::EC2::Instance",
|
|
50
|
+
"location": "us-east-1",
|
|
51
|
+
"nativeId": "i-0a1b2c3d4e5f60718",
|
|
52
|
+
"cloudIds": [{ "kind": "import-id", "value": "i-0a1b2c3d4e5f60718" }],
|
|
53
|
+
"tags": {},
|
|
54
|
+
"properties": { "InstanceId": "i-0a1b2c3d4e5f60718", "InstanceType": "t3.micro", "ImageId": "ami-0abcdef1234567890" },
|
|
55
|
+
"observedAt": "2026-10-26T09:00:02.000Z"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"coverage": [
|
|
59
|
+
{ "listedType": "AWS::EC2::Instance", "location": "us-east-1", "verdict": "listed" },
|
|
60
|
+
{ "listedType": "AWS::IAM::Role", "location": "global", "verdict": "listed" },
|
|
61
|
+
{ "listedType": "AWS::S3::Bucket", "location": "us-east-1", "verdict": "listed" },
|
|
62
|
+
{ "listedType": "AWS::SQS::Queue", "location": "us-east-1", "verdict": "listed" }
|
|
63
|
+
],
|
|
64
|
+
"notes": []
|
|
65
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"listing": "v1",
|
|
3
|
+
"source": { "name": "behold-lister", "version": "0.0.0-fixture" },
|
|
4
|
+
"scope": {
|
|
5
|
+
"substrate": "aws",
|
|
6
|
+
"scopeId": "000000000000",
|
|
7
|
+
"locations": ["us-east-1"],
|
|
8
|
+
"types": "*"
|
|
9
|
+
},
|
|
10
|
+
"startedAt": "2026-10-26T10:00:00.000Z",
|
|
11
|
+
"completedAt": "2026-10-26T10:00:04.000Z",
|
|
12
|
+
"resources": [
|
|
13
|
+
{
|
|
14
|
+
"listedType": "AWS::EC2::VPC",
|
|
15
|
+
"location": "us-east-1",
|
|
16
|
+
"nativeId": "vpc-0imp",
|
|
17
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:ec2:us-east-1:000000000000:vpc/vpc-0imp" }, { "kind": "import-id", "value": "vpc-0imp" }],
|
|
18
|
+
"tags": { "Name": "shop", "aws:cloudformation:stack-name": "old-stack" },
|
|
19
|
+
"properties": {
|
|
20
|
+
"VpcId": "vpc-0imp",
|
|
21
|
+
"CidrBlock": "10.40.0.0/16",
|
|
22
|
+
"EnableDnsSupport": true,
|
|
23
|
+
"Tags": [{ "Key": "Name", "Value": "shop" }, { "Key": "aws:cloudformation:stack-name", "Value": "old-stack" }]
|
|
24
|
+
},
|
|
25
|
+
"observedAt": "2026-10-26T10:00:01.000Z"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"listedType": "AWS::EC2::Subnet",
|
|
29
|
+
"location": "us-east-1",
|
|
30
|
+
"nativeId": "subnet-0imp",
|
|
31
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:ec2:us-east-1:000000000000:subnet/subnet-0imp" }, { "kind": "import-id", "value": "subnet-0imp" }],
|
|
32
|
+
"tags": { "Name": "shop-a" },
|
|
33
|
+
"properties": {
|
|
34
|
+
"SubnetId": "subnet-0imp",
|
|
35
|
+
"VpcId": "vpc-0imp",
|
|
36
|
+
"CidrBlock": "10.40.1.0/24",
|
|
37
|
+
"AvailabilityZone": "us-east-1a",
|
|
38
|
+
"Tags": [{ "Key": "Name", "Value": "shop-a" }]
|
|
39
|
+
},
|
|
40
|
+
"observedAt": "2026-10-26T10:00:01.000Z"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"listedType": "AWS::EC2::SecurityGroup",
|
|
44
|
+
"location": "us-east-1",
|
|
45
|
+
"nativeId": "sg-0imp",
|
|
46
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:ec2:us-east-1:000000000000:security-group/sg-0imp" }, { "kind": "import-id", "value": "sg-0imp" }],
|
|
47
|
+
"tags": {},
|
|
48
|
+
"properties": {
|
|
49
|
+
"GroupId": "sg-0imp",
|
|
50
|
+
"GroupDescription": "shop web",
|
|
51
|
+
"VpcId": "vpc-0imp"
|
|
52
|
+
},
|
|
53
|
+
"observedAt": "2026-10-26T10:00:01.000Z"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"listedType": "AWS::IAM::Role",
|
|
57
|
+
"location": "global",
|
|
58
|
+
"nativeId": "imp-task-role",
|
|
59
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:iam::000000000000:role/imp-task-role" }, { "kind": "import-id", "value": "imp-task-role" }],
|
|
60
|
+
"tags": {},
|
|
61
|
+
"properties": {
|
|
62
|
+
"RoleName": "imp-task-role",
|
|
63
|
+
"Arn": "arn:aws:iam::000000000000:role/imp-task-role",
|
|
64
|
+
"RoleId": "AROAIMPTASKROLE00000",
|
|
65
|
+
"AssumeRolePolicyDocument": { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Principal": { "Service": "ecs-tasks.amazonaws.com" }, "Action": "sts:AssumeRole" }] }
|
|
66
|
+
},
|
|
67
|
+
"observedAt": "2026-10-26T10:00:02.000Z"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"listedType": "AWS::ECS::TaskDefinition",
|
|
71
|
+
"location": "us-east-1",
|
|
72
|
+
"nativeId": "arn:aws:ecs:us-east-1:000000000000:task-definition/imp:1",
|
|
73
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:ecs:us-east-1:000000000000:task-definition/imp:1" }],
|
|
74
|
+
"tags": {},
|
|
75
|
+
"properties": {
|
|
76
|
+
"TaskDefinitionArn": "arn:aws:ecs:us-east-1:000000000000:task-definition/imp:1",
|
|
77
|
+
"Family": "imp",
|
|
78
|
+
"Cpu": "256",
|
|
79
|
+
"Memory": "512",
|
|
80
|
+
"TaskRoleArn": "arn:aws:iam::000000000000:role/imp-task-role"
|
|
81
|
+
},
|
|
82
|
+
"observedAt": "2026-10-26T10:00:02.000Z"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"listedType": "AWS::RDS::DBInstance",
|
|
86
|
+
"location": "us-east-1",
|
|
87
|
+
"nativeId": "imp-db",
|
|
88
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:rds:us-east-1:000000000000:db:imp-db" }, { "kind": "import-id", "value": "imp-db" }],
|
|
89
|
+
"tags": {},
|
|
90
|
+
"properties": {
|
|
91
|
+
"DBInstanceIdentifier": "imp-db",
|
|
92
|
+
"DBInstanceArn": "arn:aws:rds:us-east-1:000000000000:db:imp-db",
|
|
93
|
+
"DBInstanceClass": "db.t3.micro",
|
|
94
|
+
"Engine": "postgres",
|
|
95
|
+
"MasterUsername": "app",
|
|
96
|
+
"MasterUserPassword": "[REDACTED]",
|
|
97
|
+
"Endpoint": { "Address": "imp-db.local", "Port": "5432" }
|
|
98
|
+
},
|
|
99
|
+
"observedAt": "2026-10-26T10:00:03.000Z"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"listedType": "AWS::S3::Bucket",
|
|
103
|
+
"location": "us-east-1",
|
|
104
|
+
"nativeId": "imp-assets",
|
|
105
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:s3:::imp-assets" }, { "kind": "import-id", "value": "imp-assets" }],
|
|
106
|
+
"tags": { "team": "shop" },
|
|
107
|
+
"properties": {
|
|
108
|
+
"BucketName": "imp-assets",
|
|
109
|
+
"Arn": "arn:aws:s3:::imp-assets",
|
|
110
|
+
"Tags": [{ "Key": "team", "Value": "shop" }]
|
|
111
|
+
},
|
|
112
|
+
"observedAt": "2026-10-26T10:00:03.000Z"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"listedType": "AWS::Example::NotGenerated",
|
|
116
|
+
"location": "us-east-1",
|
|
117
|
+
"nativeId": "x-1",
|
|
118
|
+
"cloudIds": [],
|
|
119
|
+
"tags": {},
|
|
120
|
+
"properties": { "Name": "x-1" },
|
|
121
|
+
"observedAt": "2026-10-26T10:00:03.000Z"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"coverage": [{ "listedType": "*", "location": "*", "verdict": "listed" }],
|
|
125
|
+
"notes": []
|
|
126
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"listing": "v1",
|
|
3
|
+
"source": { "name": "behold-lister", "version": "0.0.0-fixture" },
|
|
4
|
+
"scope": { "substrate": "aws", "scopeId": "000000000000", "locations": ["us-east-1"], "types": ["AWS::EC2::Volume", "AWS::IoTFleetHub::Application", "AWS::RDS::DBInstance", "AWS::S3::Bucket"] },
|
|
5
|
+
"startedAt": "2026-10-26T09:00:00.000Z",
|
|
6
|
+
"completedAt": "2026-10-26T09:00:04.000Z",
|
|
7
|
+
"resources": [
|
|
8
|
+
{
|
|
9
|
+
"listedType": "AWS::RDS::DBInstance",
|
|
10
|
+
"location": "us-east-1",
|
|
11
|
+
"nativeId": "orders-db",
|
|
12
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:rds:us-east-1:000000000000:db:orders-db" }, { "kind": "import-id", "value": "orders-db" }],
|
|
13
|
+
"tags": { "tofu-estate": "shop" },
|
|
14
|
+
"properties": {
|
|
15
|
+
"DBInstanceIdentifier": "orders-db",
|
|
16
|
+
"DBInstanceArn": "arn:aws:rds:us-east-1:000000000000:db:orders-db",
|
|
17
|
+
"Engine": "postgres",
|
|
18
|
+
"StorageEncrypted": true,
|
|
19
|
+
"MasterUserPassword": "<masked>",
|
|
20
|
+
"Tags": [{ "Key": "tofu-estate", "Value": "shop" }]
|
|
21
|
+
},
|
|
22
|
+
"observedAt": "2026-10-26T09:00:01.000Z",
|
|
23
|
+
"facts": { "markers": { "owner": "shop", "encoding": "escaped", "source": "live" }, "cloudIds": [{ "kind": "arn", "value": "arn:aws:rds:us-east-1:000000000000:db:orders-db" }, { "kind": "import-id", "value": "orders-db" }], "observedAt": "2026-10-26T09:00:01.000Z" }
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"listedType": "AWS::RDS::DBInstance",
|
|
27
|
+
"location": "us-east-1",
|
|
28
|
+
"nativeId": "reports-db",
|
|
29
|
+
"cloudIds": [{ "kind": "import-id", "value": "reports-db" }],
|
|
30
|
+
"tags": {},
|
|
31
|
+
"properties": { "DBInstanceIdentifier": "reports-db", "Engine": "postgres", "StorageEncrypted": false },
|
|
32
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"listedType": "AWS::EC2::Volume",
|
|
36
|
+
"location": "us-east-1",
|
|
37
|
+
"nativeId": "vol-0a1b2c3d4e5f60718",
|
|
38
|
+
"cloudIds": [{ "kind": "import-id", "value": "vol-0a1b2c3d4e5f60718" }],
|
|
39
|
+
"tags": {},
|
|
40
|
+
"properties": { "VolumeId": "vol-0a1b2c3d4e5f60718", "AvailabilityZone": "us-east-1a", "Size": 20, "Encrypted": true },
|
|
41
|
+
"observedAt": "2026-10-26T09:00:02.000Z"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"listedType": "AWS::S3::Bucket",
|
|
45
|
+
"location": "us-east-1",
|
|
46
|
+
"nativeId": "shop-assets",
|
|
47
|
+
"cloudIds": [{ "kind": "arn", "value": "arn:aws:s3:::shop-assets" }, { "kind": "import-id", "value": "shop-assets" }],
|
|
48
|
+
"tags": {},
|
|
49
|
+
"properties": { "BucketName": "shop-assets", "Arn": "arn:aws:s3:::shop-assets" },
|
|
50
|
+
"observedAt": "2026-10-26T09:00:03.000Z"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"listedType": "AWS::IoTFleetHub::Application",
|
|
54
|
+
"location": "us-east-1",
|
|
55
|
+
"nativeId": "fleet-console",
|
|
56
|
+
"cloudIds": [{ "kind": "import-id", "value": "fleet-console" }],
|
|
57
|
+
"tags": {},
|
|
58
|
+
"properties": { "ApplicationName": "fleet-console", "RoleArn": "arn:aws:iam::000000000000:role/fleet" },
|
|
59
|
+
"observedAt": "2026-10-26T09:00:03.000Z"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"coverage": [
|
|
63
|
+
{ "listedType": "AWS::EC2::Volume", "location": "us-east-1", "verdict": "listed" },
|
|
64
|
+
{ "listedType": "AWS::IoTFleetHub::Application", "location": "us-east-1", "verdict": "listed" },
|
|
65
|
+
{ "listedType": "AWS::RDS::DBInstance", "location": "us-east-1", "verdict": "listed" },
|
|
66
|
+
{ "listedType": "AWS::S3::Bucket", "location": "us-east-1", "verdict": "listed" }
|
|
67
|
+
],
|
|
68
|
+
"notes": []
|
|
69
|
+
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
{
|
|
2
|
+
"listing": "v1",
|
|
3
|
+
"source": {
|
|
4
|
+
"name": "behold-lister",
|
|
5
|
+
"version": "0.0.0-fixture"
|
|
6
|
+
},
|
|
7
|
+
"scope": {
|
|
8
|
+
"substrate": "aws",
|
|
9
|
+
"scopeId": "000000000000",
|
|
10
|
+
"locations": [
|
|
11
|
+
"us-east-1"
|
|
12
|
+
],
|
|
13
|
+
"types": [
|
|
14
|
+
"AWS::EC2::Instance",
|
|
15
|
+
"AWS::EC2::InternetGateway",
|
|
16
|
+
"AWS::EC2::Route",
|
|
17
|
+
"AWS::EC2::RouteTable",
|
|
18
|
+
"AWS::EC2::SecurityGroup",
|
|
19
|
+
"AWS::EC2::Subnet",
|
|
20
|
+
"AWS::EC2::SubnetRouteTableAssociation",
|
|
21
|
+
"AWS::EC2::VPC",
|
|
22
|
+
"AWS::EC2::VPCGatewayAttachment",
|
|
23
|
+
"AWS::EKS::Cluster"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"startedAt": "2026-10-26T09:00:00.000Z",
|
|
27
|
+
"completedAt": "2026-10-26T09:00:06.000Z",
|
|
28
|
+
"resources": [
|
|
29
|
+
{
|
|
30
|
+
"listedType": "AWS::EC2::VPC",
|
|
31
|
+
"location": "us-east-1",
|
|
32
|
+
"nativeId": "vpc-0a1",
|
|
33
|
+
"cloudIds": [
|
|
34
|
+
{
|
|
35
|
+
"kind": "import-id",
|
|
36
|
+
"value": "vpc-0a1"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"tags": {},
|
|
40
|
+
"properties": {
|
|
41
|
+
"VpcId": "vpc-0a1",
|
|
42
|
+
"CidrBlock": "10.0.0.0/16"
|
|
43
|
+
},
|
|
44
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"listedType": "AWS::EC2::Subnet",
|
|
48
|
+
"location": "us-east-1",
|
|
49
|
+
"nativeId": "subnet-0pub",
|
|
50
|
+
"cloudIds": [
|
|
51
|
+
{
|
|
52
|
+
"kind": "import-id",
|
|
53
|
+
"value": "subnet-0pub"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"tags": {
|
|
57
|
+
"kubernetes.io/cluster/shop": "shared"
|
|
58
|
+
},
|
|
59
|
+
"properties": {
|
|
60
|
+
"SubnetId": "subnet-0pub",
|
|
61
|
+
"VpcId": "vpc-0a1",
|
|
62
|
+
"CidrBlock": "10.0.1.0/24",
|
|
63
|
+
"AvailabilityZone": "us-east-1a",
|
|
64
|
+
"Tags": [
|
|
65
|
+
{
|
|
66
|
+
"Key": "kubernetes.io/cluster/shop",
|
|
67
|
+
"Value": "shared"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"listedType": "AWS::EC2::Subnet",
|
|
75
|
+
"location": "us-east-1",
|
|
76
|
+
"nativeId": "subnet-0priv",
|
|
77
|
+
"cloudIds": [
|
|
78
|
+
{
|
|
79
|
+
"kind": "import-id",
|
|
80
|
+
"value": "subnet-0priv"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"tags": {},
|
|
84
|
+
"properties": {
|
|
85
|
+
"SubnetId": "subnet-0priv",
|
|
86
|
+
"VpcId": "vpc-0a1",
|
|
87
|
+
"CidrBlock": "10.0.2.0/24",
|
|
88
|
+
"AvailabilityZone": "us-east-1a"
|
|
89
|
+
},
|
|
90
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"listedType": "AWS::EC2::InternetGateway",
|
|
94
|
+
"location": "us-east-1",
|
|
95
|
+
"nativeId": "igw-0a1",
|
|
96
|
+
"cloudIds": [
|
|
97
|
+
{
|
|
98
|
+
"kind": "import-id",
|
|
99
|
+
"value": "igw-0a1"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"tags": {},
|
|
103
|
+
"properties": {
|
|
104
|
+
"InternetGatewayId": "igw-0a1"
|
|
105
|
+
},
|
|
106
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"listedType": "AWS::EC2::VPCGatewayAttachment",
|
|
110
|
+
"location": "us-east-1",
|
|
111
|
+
"nativeId": "IGW|vpc-0a1",
|
|
112
|
+
"cloudIds": [
|
|
113
|
+
{
|
|
114
|
+
"kind": "import-id",
|
|
115
|
+
"value": "IGW|vpc-0a1"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"tags": {},
|
|
119
|
+
"properties": {
|
|
120
|
+
"VpcId": "vpc-0a1",
|
|
121
|
+
"InternetGatewayId": "igw-0a1"
|
|
122
|
+
},
|
|
123
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"listedType": "AWS::EC2::RouteTable",
|
|
127
|
+
"location": "us-east-1",
|
|
128
|
+
"nativeId": "rtb-0pub",
|
|
129
|
+
"cloudIds": [
|
|
130
|
+
{
|
|
131
|
+
"kind": "import-id",
|
|
132
|
+
"value": "rtb-0pub"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"tags": {},
|
|
136
|
+
"properties": {
|
|
137
|
+
"RouteTableId": "rtb-0pub",
|
|
138
|
+
"VpcId": "vpc-0a1"
|
|
139
|
+
},
|
|
140
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"listedType": "AWS::EC2::Route",
|
|
144
|
+
"location": "us-east-1",
|
|
145
|
+
"nativeId": "rtb-0pub|0.0.0.0/0",
|
|
146
|
+
"cloudIds": [
|
|
147
|
+
{
|
|
148
|
+
"kind": "import-id",
|
|
149
|
+
"value": "rtb-0pub|0.0.0.0/0"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"tags": {},
|
|
153
|
+
"properties": {
|
|
154
|
+
"RouteTableId": "rtb-0pub",
|
|
155
|
+
"DestinationCidrBlock": "0.0.0.0/0",
|
|
156
|
+
"GatewayId": "igw-0a1"
|
|
157
|
+
},
|
|
158
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"listedType": "AWS::EC2::SubnetRouteTableAssociation",
|
|
162
|
+
"location": "us-east-1",
|
|
163
|
+
"nativeId": "rtbassoc-0pub",
|
|
164
|
+
"cloudIds": [
|
|
165
|
+
{
|
|
166
|
+
"kind": "import-id",
|
|
167
|
+
"value": "rtbassoc-0pub"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"tags": {},
|
|
171
|
+
"properties": {
|
|
172
|
+
"Id": "rtbassoc-0pub",
|
|
173
|
+
"SubnetId": "subnet-0pub",
|
|
174
|
+
"RouteTableId": "rtb-0pub"
|
|
175
|
+
},
|
|
176
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"listedType": "AWS::EC2::SecurityGroup",
|
|
180
|
+
"location": "us-east-1",
|
|
181
|
+
"nativeId": "sg-0web",
|
|
182
|
+
"cloudIds": [
|
|
183
|
+
{
|
|
184
|
+
"kind": "import-id",
|
|
185
|
+
"value": "sg-0web"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"tags": {},
|
|
189
|
+
"properties": {
|
|
190
|
+
"GroupId": "sg-0web",
|
|
191
|
+
"GroupName": "web",
|
|
192
|
+
"GroupDescription": "web",
|
|
193
|
+
"VpcId": "vpc-0a1",
|
|
194
|
+
"SecurityGroupIngress": [
|
|
195
|
+
{
|
|
196
|
+
"IpProtocol": "tcp",
|
|
197
|
+
"FromPort": 22,
|
|
198
|
+
"ToPort": 22,
|
|
199
|
+
"CidrIp": "0.0.0.0/0"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"listedType": "AWS::EC2::SecurityGroup",
|
|
207
|
+
"location": "us-east-1",
|
|
208
|
+
"nativeId": "sg-0db",
|
|
209
|
+
"cloudIds": [
|
|
210
|
+
{
|
|
211
|
+
"kind": "import-id",
|
|
212
|
+
"value": "sg-0db"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"tags": {},
|
|
216
|
+
"properties": {
|
|
217
|
+
"GroupId": "sg-0db",
|
|
218
|
+
"GroupName": "db",
|
|
219
|
+
"GroupDescription": "db",
|
|
220
|
+
"VpcId": "vpc-0a1",
|
|
221
|
+
"SecurityGroupIngress": [
|
|
222
|
+
{
|
|
223
|
+
"IpProtocol": "tcp",
|
|
224
|
+
"FromPort": 5432,
|
|
225
|
+
"ToPort": 5432,
|
|
226
|
+
"SourceSecurityGroupId": "sg-0web"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"listedType": "AWS::EC2::Instance",
|
|
234
|
+
"location": "us-east-1",
|
|
235
|
+
"nativeId": "i-0web",
|
|
236
|
+
"cloudIds": [
|
|
237
|
+
{
|
|
238
|
+
"kind": "import-id",
|
|
239
|
+
"value": "i-0web"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"tags": {},
|
|
243
|
+
"properties": {
|
|
244
|
+
"InstanceId": "i-0web",
|
|
245
|
+
"ImageId": "ami-0abc",
|
|
246
|
+
"InstanceType": "t3.micro",
|
|
247
|
+
"SubnetId": "subnet-0pub",
|
|
248
|
+
"SecurityGroupIds": [
|
|
249
|
+
"sg-0web"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"listedType": "AWS::EC2::Instance",
|
|
256
|
+
"location": "us-east-1",
|
|
257
|
+
"nativeId": "i-0batch",
|
|
258
|
+
"cloudIds": [
|
|
259
|
+
{
|
|
260
|
+
"kind": "import-id",
|
|
261
|
+
"value": "i-0batch"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"tags": {},
|
|
265
|
+
"properties": {
|
|
266
|
+
"InstanceId": "i-0batch",
|
|
267
|
+
"ImageId": "ami-0abc",
|
|
268
|
+
"InstanceType": "t3.micro",
|
|
269
|
+
"SubnetId": "subnet-0priv",
|
|
270
|
+
"SecurityGroupIds": [
|
|
271
|
+
"sg-0web"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"listedType": "AWS::EKS::Cluster",
|
|
278
|
+
"location": "us-east-1",
|
|
279
|
+
"nativeId": "shop",
|
|
280
|
+
"cloudIds": [
|
|
281
|
+
{
|
|
282
|
+
"kind": "arn",
|
|
283
|
+
"value": "arn:aws:eks:us-east-1:000000000000:cluster/shop"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "import-id",
|
|
287
|
+
"value": "shop"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"tags": {},
|
|
291
|
+
"properties": {
|
|
292
|
+
"Name": "shop"
|
|
293
|
+
},
|
|
294
|
+
"observedAt": "2026-10-26T09:00:01.000Z"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"coverage": [
|
|
298
|
+
{
|
|
299
|
+
"listedType": "AWS::EC2::Instance",
|
|
300
|
+
"location": "us-east-1",
|
|
301
|
+
"verdict": "listed"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"listedType": "AWS::EC2::InternetGateway",
|
|
305
|
+
"location": "us-east-1",
|
|
306
|
+
"verdict": "listed"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"listedType": "AWS::EC2::Route",
|
|
310
|
+
"location": "us-east-1",
|
|
311
|
+
"verdict": "listed"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"listedType": "AWS::EC2::RouteTable",
|
|
315
|
+
"location": "us-east-1",
|
|
316
|
+
"verdict": "listed"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"listedType": "AWS::EC2::SecurityGroup",
|
|
320
|
+
"location": "us-east-1",
|
|
321
|
+
"verdict": "listed"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"listedType": "AWS::EC2::Subnet",
|
|
325
|
+
"location": "us-east-1",
|
|
326
|
+
"verdict": "listed"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"listedType": "AWS::EC2::SubnetRouteTableAssociation",
|
|
330
|
+
"location": "us-east-1",
|
|
331
|
+
"verdict": "listed"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"listedType": "AWS::EC2::VPC",
|
|
335
|
+
"location": "us-east-1",
|
|
336
|
+
"verdict": "listed"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"listedType": "AWS::EC2::VPCGatewayAttachment",
|
|
340
|
+
"location": "us-east-1",
|
|
341
|
+
"verdict": "listed"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"listedType": "AWS::EKS::Cluster",
|
|
345
|
+
"location": "us-east-1",
|
|
346
|
+
"verdict": "listed"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"notes": []
|
|
350
|
+
}
|