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

Patch 2 #8

Closed
wants to merge 9 commits into from
Closed

Patch 2 #8

wants to merge 9 commits into from

Conversation

deanp3it
Copy link
Contributor

@deanp3it deanp3it commented Aug 8, 2023

No description provided.

Comment on lines +46 to +47
description = "Resource Discovery Description"
operating_regions = [
Copy link
Member

Choose a reason for hiding this comment

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

Both description and operation_regions need to be variables

Comment on lines +31 to +32
cidr_filter_pattern = "10.*" # Optional, can be customized
address_family = "IPv4" # Optional, can be customized
Copy link
Member

Choose a reason for hiding this comment

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

Both cidr_filter_pattern and address_family need to be varibles

mycidrs = [for cidr in data.aws_vpc_ipam_pool_cidrs.this.ipam_pool_cidrs : cidr.cidr if cidr.state == "provisioned"]
}

resource "aws_ec2_managed_prefix_list" "this" {
Copy link
Member

Choose a reason for hiding this comment

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

What is the concept for this resource? Not sure I understand the use case being filled here, in the context of IPAM.

description = "List of operating regions for IPAM resource discovery."
type = list(object({
region_name = string
# Include other attributes if needed
Copy link
Member

Choose a reason for hiding this comment

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

These comments end up in the README generated by terraform-docs. Remove unnecessary comments from this block

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.

3 participants