get Vpc Iam Pools
Deprecated
aws.ec2/getvpciampools.getVpcIamPools has been deprecated in favor of aws.ec2/getvpcipampools.getVpcIpamPools
aws.ec2.getVpcIpamPools
provides details about IPAM pools. This resource can prove useful when IPAM pools are created in another root module and you need the pool ids as input variables. For example, pools can be shared via RAM and used to create vpcs with CIDRs from that pool.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetVpcIpamPoolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = Ec2Functions.getVpcIpamPools(GetVpcIpamPoolsArgs.builder()
.filters(
GetVpcIpamPoolsFilterArgs.builder()
.name("description")
.values("*test*")
.build(),
GetVpcIpamPoolsFilterArgs.builder()
.name("address-family")
.values("ipv4")
.build())
.build());
}
}
Return
A collection of values returned by getVpcIamPools.
Parameters
A collection of arguments for invoking getVpcIamPools.
Deprecated
aws.ec2/getvpciampools.getVpcIamPools has been deprecated in favor of aws.ec2/getvpcipampools.getVpcIpamPools
Return
A collection of values returned by getVpcIamPools.
See also
Parameters
Custom filter block as described below.
Deprecated
aws.ec2/getvpciampools.getVpcIamPools has been deprecated in favor of aws.ec2/getvpcipampools.getVpcIpamPools
Return
A collection of values returned by getVpcIamPools.
See also
Parameters
Builder for com.pulumi.aws.ec2.kotlin.inputs.GetVpcIamPoolsPlainArgs.