Skip to main content

Amazon VPC IP Address Manager ExecModule

Overview​

AwsVpcIpamModule reads Amazon VPC IP Address Manager (IPAM) instances and pools. Network teams can collect a regional baseline for change reviews, reconcile which pools exist against an approved inventory, or attach AWS-reported pool details to an investigation.

An IPAM organizes address space into scopes and pools. Its home region identifies where the IPAM is managed. A pool's locale, when set, identifies where the pool is available for allocations. It can be a different region or an eligible Local Zone network border group. AWS IPAM concepts · AWS IPAM pool fields

Usage​

  1. Create an Amazon VPC IP Address Manager connection in the Integration Account Console. Verify it and confirm its status is READY.
  2. In Workflow Studio, add Amazon VPC IP Address Manager to a task. Select the connection under General > Connection.
  3. Enter the IPAM home region and choose describe_ipams for instance inventory or describe_ipam_pools for pool inventory.
  4. Check status before consuming results. If hasMore is true, pass nextToken to another invocation with the same operation, region, connection, and page size.

Inputs​

InputTypeRequiredDefaultPurpose
operationstringNodescribe_ipamsChoose describe_ipams or describe_ipam_pools.
regionstringYes—Commercial AWS or AWS GovCloud region where the EC2 API supports IPAM.
pageSizeintegerNo100Request 5–1,000 results per provider page.
nextTokenstringNo—Opaque continuation token from the preceding page, up to 8,192 non-space printable ASCII characters.

Outputs​

OutputMeaning
statussuccess or error.
operation / regionRecognized operation and AWS region when available.
ipamsRows with ipamId and available arn, ownerId, ipamRegion, state, and operatingRegions (region strings).
poolsRows with ipamPoolId and available arn, ipamArn, ipamRegion, ipamScopeArn, ipamScopeType, addressFamily, locale, state, and sourceIpamPoolId.
hasMore / nextTokenWhether AWS reports another page and the token for continuing.
requestIdAWS request reference when available.
errorRedacted object with code, message, retryable, and an optional httpStatus.

The response contains the row collection for the selected operation. An empty collection is a valid result. When AWS supplies both ARNs, match a pool's ipamArn to the instance's arn to group the inventory.

IntegrationAccount Requirements​

Use a verified connection with account name AWS and status READY. Store the key pair in the protected AWS Access Key ID and AWS Secret Access Key fields. The module uses AWS Signature Version 4 with that key pair. The connection accepts access key pairs without a session token.

Grant ec2:DescribeIpams for instance inventory and ec2:DescribeIpamPools for pool inventory, according to the operations the workflow uses. Both actions use Resource: "*" in the IAM policy and support the ec2:Region condition for restricting allowed regions. Amazon EC2 service authorization

Configuration​

Choose the AWS region where the IPAM is managed. The module uses the standard regional EC2 HTTPS endpoint. Run separate inventories for each approved connection and home region. Keep credential values in the Integration Account fields and restrict inventory outputs to authorized workflow recipients.

Operations​

  • describe_ipams reads one page of IPAM instance records visible to the selected AWS connection. Use it to establish which IPAM instances the workflow can see in a home region. AWS DescribeIpams API
  • describe_ipam_pools reads one page of IPAM pool records. Use it to compare visible pools with your approved inventory. AWS DescribeIpamPools API

Errors and Failure Modes​

  • For VALIDATION_ERROR, check the operation, region, page size, and continuation token.
  • For INTEGRATION_ACCOUNT_ERROR, verify the connection's provider, readiness, and protected key fields.
  • For DESTINATION_DENIED, check the selected region and the workflow's network policy.
  • For AWS_EC2_HTTP_<status> or AWS_EC2_ERROR, check the IAM action, account, and region. Use the AWS request ID for investigation when available.
  • For INVALID_PROVIDER_RESPONSE, inspect the workflow run and rerun the page after investigating the provider response.
  • For a failure marked retryable, such as throttling or a transient NETWORK_ERROR, back off before retrying the workflow.

Example​

A scheduled workflow can read the IPAM pool inventory for a home region and compare pool IDs with an approved list.

{
"operation": "describe_ipam_pools",
"region": "us-west-2",
"pageSize": 25
}

A successful final page might look like this.

{
"status": "success",
"operation": "describe_ipam_pools",
"region": "us-west-2",
"pools": [
{
"ipamPoolId": "ipam-pool-0123456789abcdef0",
"addressFamily": "ipv4",
"ipamRegion": "us-west-2",
"ipamScopeType": "private",
"locale": "us-west-2",
"state": "create-complete"
}
],
"hasMore": false
}

Collect all pages before comparing the observed pool IDs with the approved list. Route differences for review with the account and region included as context.

Notes​

  • AWS can return fewer rows than requested. Use hasMore to decide whether to continue even if the page is empty.
  • Amazon EC2 enforces API request quotas. Pace concurrent scans across connections and regions, and allow for eventual consistency when reviewing recent infrastructure changes. AWS EC2 API throttling
  • Both operations are read-only and safe to repeat. CIDR utilization, allocations, and IPAM changes are outside the connector's scope.