Skip to content

Commit

Permalink
Merge pull request #219 from stackql/feature/provider
Browse files Browse the repository at this point in the history
updated awscc
  • Loading branch information
jeffreyaven authored Mar 25, 2024
2 parents 3a0f46a + 6df6994 commit 86421e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/src/awscc/v00.00.00000/services/s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2678,7 +2678,7 @@ components:
JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
JSON_EXTRACT(Properties, '$.DualStackDomainName') as dual_stack_domain_name,
JSON_EXTRACT(Properties, '$.RegionalDomainName') as regional_domain_name,
SPLIT_PART(JSON_EXTRACT(Properties, '$.RegionalDomainName'), '.', 3) as bucket_location,
SPLIT_PART(SPLIT_PART(JSON_EXTRACT(Properties, '$.RegionalDomainName'), '.s3.', 2), '.', 1) as bucket_location,
JSON_EXTRACT(Properties, '$.WebsiteURL') as website_url
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::S3::Bucket'
AND data__Identifier = '<BucketName>'
Expand Down Expand Up @@ -2713,7 +2713,7 @@ components:
json_extract_path_text(Properties, 'DomainName') as domain_name,
json_extract_path_text(Properties, 'DualStackDomainName') as dual_stack_domain_name,
json_extract_path_text(Properties, 'RegionalDomainName') as regional_domain_name,
SPLIT_PART(json_extract_path_text(Properties, 'RegionalDomainName'), '.', 3) as bucket_location,
SPLIT_PART(SPLIT_PART(json_extract_path_text(Properties, 'RegionalDomainName'), '.s3.', 2), '.', 1) as bucket_location,
json_extract_path_text(Properties, 'WebsiteURL') as website_url
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::S3::Bucket'
AND data__Identifier = '<BucketName>'
Expand Down

0 comments on commit 86421e7

Please sign in to comment.