Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated query macro autoscale_or_ondemand #178

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

ronsh12
Copy link
Contributor

@ronsh12 ronsh12 commented Nov 1, 2023

No description provided.

@ronsh12 ronsh12 requested review from bbernays and jsonpr November 1, 2023 13:56
@ronsh12 ronsh12 self-assigned this Nov 1, 2023
@ronsh12
Copy link
Contributor Author

ronsh12 commented Nov 1, 2023

Related to the bag here -
cloudquery/cloudquery#13764

t.arn AS resource_id,
CASE
WHEN t.billing_mode_summary:BillingMode = 'PAY_PER_REQUEST' then 'pass'
WHEN (t.billing_mode_summary:BillingMode = 'PROVISIONED' or t.billing_mode_summary:BillingMode is NULL )and (pr._cq_id IS not NULL and pw._cq_id IS not NULL) then 'pass'
Copy link
Contributor

@jsonpr jsonpr Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could streamline the logic here from below, but this is fine for now. This checks if the table has both Read and Write autoscaling enabled (and Provisioned).

@ronsh12 ronsh12 force-pushed the private/ron/dynamodb_1 branch from 811adb3 to bbca2a7 Compare November 14, 2023 11:38
@ronsh12 ronsh12 merged commit 8cbf273 into main Nov 14, 2023
4 checks passed
@ronsh12 ronsh12 deleted the private/ron/dynamodb_1 branch November 14, 2023 11:41
kodiakhq bot pushed a commit that referenced this pull request Nov 17, 2023
🤖 I have created a release *beep* *boop*
---


## [0.1.0](transformation-aws-compliance-free-v0.0.1...transformation-aws-compliance-free-v0.1.0) (2023-11-17)


### Features

* Add All Queries from AWS Plugin ([#166](#166)) ([b9f2782](b9f2782))
* DBT tests ([#159](#159)) ([9544114](9544114))
* Reorder things and move to cross platform queries ([#160](#160)) ([2e9e699](2e9e699))
* Updated query instances_should_have_association_compliance_stat… ([#175](#175)) ([41a0a6c](41a0a6c))
* Updated query macro autoscale_or_ondemand ([#178](#178)) ([8cbf273](8cbf273))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit that referenced this pull request Nov 20, 2023
🤖 I have created a release *beep* *boop*
---


## 0.0.1 (2023-11-20)


### Features

* Add All Queries from AWS Plugin ([#166](#166)) ([b9f2782](b9f2782))
* DBT tests ([#159](#159)) ([9544114](9544114))
* Updated query instances_should_have_association_compliance_stat… ([#175](#175)) ([41a0a6c](41a0a6c))
* Updated query macro autoscale_or_ondemand ([#178](#178)) ([8cbf273](8cbf273))


### Miscellaneous Chores

* release 0.0.1 ([2e9e699](2e9e699))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: dynamodb/autoscale_or_ondemand.sql does not take into account no replica case
2 participants