Skip to content

Conversation

@aruneko
Copy link
Contributor

@aruneko aruneko commented May 10, 2023

Summary

When I run the query of ECS.2 in foundational policies, I have noticed that resource_id became null if there is no ECS service in a ECS cluster.

Thus, we don't have to use left join to detect the rule. Only just seek aws_ecs_cluster_services table.

Copy link
Contributor

@jsonpr jsonpr left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution to CloudQuery and fix.

This looks good. Good eye!

@hermanschaaf hermanschaaf added the automerge Automatically merge once required checks pass label May 11, 2023
@kodiakhq kodiakhq bot merged commit f5cf2d8 into cloudquery:main May 11, 2023
@aruneko aruneko deleted the fix/aws_policy_foundation_ecs_2 branch May 12, 2023 01:25
kodiakhq bot pushed a commit that referenced this pull request May 16, 2023
🤖 I have created a release *beep* *boop*
---


## [17.3.0](plugins-source-aws-v17.2.0...plugins-source-aws-v17.3.0) (2023-05-16)


### This Release has the Following Changes to Tables
- Table `aws_acmpca_certificate_authorities` was added
- Table `aws_cloudformation_stack_templates` was added
- Table `aws_cloudformation_template_summaries` was added
- Table `aws_config_config_rule_compliance_details` was added
- Table `aws_efs_access_points` was added

### Features

* Add AWS Config Compliance Details table ([#10544](#10544)) ([9b43a2a](9b43a2a))
* Add Cloudformation Template Summaries table ([#10571](#10571)) ([3515db9](3515db9))
* **aws-services:** Support newly added regions ([#10806](#10806)) ([52b5e0f](52b5e0f))
* **aws:** Add private certificate authorities ([#10691](#10691)) ([9c97e85](9c97e85))
* **aws:** Add Support for Cloudformation Templates ([#10701](#10701)) ([7a23c2e](7a23c2e))
* **aws:** Add support for EFS Access Point ([#10803](#10803)) ([d994c85](d994c85))
* **aws:** Support Table level inputs ([#10564](#10564)) ([161b11b](161b11b))
* **deps:** Upgrade to Apache Arrow v13 (latest `cqmain`) ([#10605](#10605)) ([a55da3d](a55da3d))


### Bug Fixes

* **aws-policies:** Api Gateway stage logging for REST ([#10625](#10625)) ([f0d6f57](f0d6f57))
* **aws-policies:** Api Gateway stage logging for websockets ([#10702](#10702)) ([e667400](e667400))
* **aws:** Change column type of `aws_cloudformation_stack_templates.template_body` ([#10752](#10752)) ([75b9785](75b9785))
* **aws:** Fix the case where resrouce_id is null in ECS.2 of foundational policy ([#10692](#10692)) ([f5cf2d8](f5cf2d8))
* **aws:** Handle Cloudfront Regions in different partitions ([#10690](#10690)) ([158aab1](158aab1))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/config to v1.18.25 ([#10786](#10786)) ([caca1a4](caca1a4))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/acm to v1.17.11 ([#10789](#10789)) ([9122f84](9122f84))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/amp to v1.16.11 ([#10790](#10790)) ([431905f](431905f))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/amplify to v1.13.10 ([#10791](#10791)) ([81d175b](81d175b))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.0.8 ([#10798](#10798)) ([27ff430](27ff430))

---
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

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants