Skip to content

Commit 8dbe773

Browse files
authored
Merge pull request #38 from stackql/feature/updates
fixed download issues
2 parents 5f00a3c + 8c8df63 commit 8dbe773

125 files changed

Lines changed: 350 additions & 1974 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"Bash(cargo tree:*)",
1212
"Bash(where llvm-config:*)",
1313
"Read(//c/msys64/mingw64/bin/**)",
14-
"Read(//c/msys64/clang64/bin/**)"
14+
"Read(//c/msys64/clang64/bin/**)",
15+
"Bash(cargo doc:*)",
16+
"Bash(grep -r impl.*Read.*for.*Response c:/LocalGitRepos/stackql/stackql-deploy-rs/target/doc/reqwest/blocking/struct.Response.html)"
1517
]
1618
}
1719
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ Resource `.iql` files define mutation and check queries using SQL anchors:
6868
```sql
6969
/*+ create */
7070
INSERT INTO azure.resources.resource_groups(
71-
resourceGroupName, subscriptionId, data__location
71+
resourceGroupName, subscriptionId, location
7272
)
7373
SELECT '{{ resource_group_name }}', '{{ subscription_id }}', '{{ location }}'
7474
7575
/*+ update */
7676
UPDATE azure.resources.resource_groups
77-
SET data__location = '{{ location }}'
77+
SET location = '{{ location }}'
7878
WHERE resourceGroupName = '{{ resource_group_name }}'
7979
AND subscriptionId = '{{ subscription_id }}'
8080

examples/aws/aws-stack/resources/example_inet_gateway.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ AND json_extract(tags, '$.StackEnv') = '{{ stack_env }}'
4848

4949
/*+ delete */
5050
DELETE FROM aws.ec2.internet_gateways
51-
WHERE data__Identifier = '{{ internet_gateway_id }}'
51+
WHERE Identifier = '{{ internet_gateway_id }}'
5252
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_inet_gw_attachment.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ AND vpc_id = '{{ vpc_id }}'
3535

3636
/*+ delete */
3737
DELETE FROM aws.ec2.vpc_gateway_attachments
38-
WHERE data__Identifier = 'IGW|{{ vpc_id }}'
38+
WHERE Identifier = 'IGW|{{ vpc_id }}'
3939
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_inet_route.iql

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*+ exists */
22
SELECT COUNT(*) as count FROM
33
(
4-
SELECT data__Identifier
4+
SELECT Identifier
55
FROM aws.ec2.routes
66
WHERE region = '{{ region }}'
7-
AND data__Identifier = '{{ route_table_id }}|0.0.0.0/0'
7+
AND Identifier = '{{ route_table_id }}|0.0.0.0/0'
88
) t;
99

1010
/*+ create */
@@ -23,19 +23,19 @@ SELECT
2323
/*+ statecheck, retries=5, retry_delay=5 */
2424
SELECT COUNT(*) as count FROM
2525
(
26-
SELECT data__Identifier
26+
SELECT Identifier
2727
FROM aws.ec2.routes
2828
WHERE region = '{{ region }}'
29-
AND data__Identifier = '{{ route_table_id }}|0.0.0.0/0'
29+
AND Identifier = '{{ route_table_id }}|0.0.0.0/0'
3030
) t;
3131

3232
/*+ exports */
33-
SELECT data__Identifier as inet_route_indentifer
33+
SELECT Identifier as inet_route_indentifer
3434
FROM aws.ec2.routes
3535
WHERE region = '{{ region }}'
36-
AND data__Identifier = '{{ route_table_id }}|0.0.0.0/0';
36+
AND Identifier = '{{ route_table_id }}|0.0.0.0/0';
3737

3838
/*+ delete */
3939
DELETE FROM aws.ec2.routes
40-
WHERE data__Identifier = '{{ inet_route_indentifer }}'
40+
WHERE Identifier = '{{ inet_route_indentifer }}'
4141
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_route_table.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ AND json_extract(tags, '$.StackEnv') = '{{ stack_env }}'
5353

5454
/*+ delete */
5555
DELETE FROM aws.ec2.route_tables
56-
WHERE data__Identifier = '{{ route_table_id }}'
56+
WHERE Identifier = '{{ route_table_id }}'
5757
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_security_group.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ AND json_extract(tags, '$.StackEnv') = '{{ stack_env }}'
6868

6969
/*+ delete */
7070
DELETE FROM aws.ec2.security_groups
71-
WHERE data__Identifier = '{{ security_group_id }}'
71+
WHERE Identifier = '{{ security_group_id }}'
7272
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_subnet.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ WHERE cidr_block = '{{ subnet_cidr_block }}';
6262

6363
/*+ delete */
6464
DELETE FROM aws.ec2.subnets
65-
WHERE data__Identifier = '{{ subnet_id }}'
65+
WHERE Identifier = '{{ subnet_id }}'
6666
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_subnet_rt_assn.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ AND subnet_id = '{{ subnet_id }}';
3838

3939
/*+ delete */
4040
DELETE FROM aws.ec2.subnet_route_table_associations
41-
WHERE data__Identifier = '{{ route_table_assn_id }}'
41+
WHERE Identifier = '{{ route_table_assn_id }}'
4242
AND region = '{{ region }}';

examples/aws/aws-stack/resources/example_vpc.iql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ AND json_extract(tags, '$.StackEnv') = '{{ stack_env }}'
5959

6060
/*+ delete */
6161
DELETE FROM aws.ec2.vpcs
62-
WHERE data__Identifier = '{{ vpc_id }}'
62+
WHERE Identifier = '{{ vpc_id }}'
6363
AND region = '{{ region }}';

0 commit comments

Comments
 (0)