question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWS config source pass supplementaryConfiguration data with resource

See original GitHub issue

Is your feature request related to a problem? Please describe. Any reason why we do not return supplementaryConfiguration along with configuration . This would be helpful since this seems to contain tag information on resources which would be useful for further value filters.

https://github.com/cloud-custodian/cloud-custodian/blob/master/c7n/query.py#L350

Describe the solution you’d like We can either add it to the resource data by default , or can create an option on the config source that will then add it.

for example:

policies: 
  - name: sns-test
    resource: aws.sns
    source: config
    supplimentary-config: true
    query:  
      - clause:  "tags.key = 'tag-check'"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kapiltcommented, Jul 22, 2020

grep through the source for ConfigSource subclasses (there are at least a half-dozen) and do one for sns would be the recommend.

0reactions
kapiltcommented, Jul 23, 2020

there are problems with resource group tagging that make it less then ideal for lambda usage. it needs api to get tags on a single resource, prioritizing as a feature request to your account team would be appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Supported Resource Types - AWS Config
AWS Config records the configuration details of Dedicated hosts and the instances that you launch on them. As a result, you can use...
Read more >
Selecting Which Resources AWS Config Records
You can use the AWS Config console to select the types of resources that AWS Config records. Sign in to the AWS Management...
Read more >
ConfigurationItem - AWS Config
A list that contains detailed configurations of a specified resource.
Read more >
Record Configurations for Third-Party Resources - AWS Config
You can publish the configuration data of third-party resources into AWS ... From the File menu, choose New, then choose Project From Existing...
Read more >
How to query your AWS resource configuration states using ...
Enable Amazon S3 configuration snapshot delivery in AWS Config. The first step in setting up Amazon Athena so it can query your AWS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found