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

chore: remove zone relationship #1264

Merged
merged 2 commits into from
Dec 17, 2024
Merged

chore: remove zone relationship #1264

merged 2 commits into from
Dec 17, 2024

Conversation

yashmehrotra
Copy link
Member

Fixes: #1198

@@ -1634,20 +1628,6 @@ func (aws Scraper) subnets(ctx *AWSContext, config v1.AWS, results *v1.ScrapeRes
Relationship: "RegionSubnet",
})

// Subnet to availability zone relationship
Copy link
Member

Choose a reason for hiding this comment

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

We just need to ensure they have both the zone (us-east-1a) and id (us-east-az7) as tags

Copy link
Member Author

@yashmehrotra yashmehrotra Dec 17, 2024

Choose a reason for hiding this comment

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

Added zone-id as tag wherever they were available, some only report zone (Volumes and LB), should I map zone -> zoneIds to populate those or is it fine ?

@moshloop moshloop merged commit f2e1ef1 into main Dec 17, 2024
8 checks passed
@moshloop moshloop deleted the remove-zone-relationship branch December 17, 2024 08:01
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.

AWS - Make zone id a tag and not a relationship
2 participants