pulumi_wasm_providers_aws_mini::ec2

Module vpn_gateway_route_propagation

source
Expand description

Requests automatic route propagation between a VPN gateway and a route table.

Note: This resource should not be used with a route table that has the propagating_vgws argument set. If that argument is set, any route propagation not explicitly listed in its value will be removed.

§Example Usage

use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
    let example = vpn_gateway_route_propagation::create(
        "example",
        VpnGatewayRoutePropagationArgs::builder()
            .route_table_id("${exampleAwsRouteTable.id}")
            .vpn_gateway_id("${exampleAwsVpnGateway.id}")
            .build_struct(),
    );
}

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments