pulumi_wasm_providers_aws_mini::ec2

Module vpc_endpoint_service_allowed_principle

source
Expand description

Provides a resource to allow a principal to discover a VPC endpoint service.

NOTE on VPC Endpoint Services and VPC Endpoint Service Allowed Principals: This provider provides both a standalone VPC Endpoint Service Allowed Principal resource and a VPC Endpoint Service resource with an allowed_principals attribute. Do not use the same principal ARN in both a VPC Endpoint Service resource and a VPC Endpoint Service Allowed Principal resource. Doing so will cause a conflict and will overwrite the association.

§Example Usage

Basic usage:

resources:
  allowMeToFoo:
    type: aws:ec2:VpcEndpointServiceAllowedPrinciple
    name: allow_me_to_foo
    properties:
      vpcEndpointServiceId: ${foo.id}
      principalArn: ${current.arn}
variables:
  current:
    fn::invoke:
      function: aws:getCallerIdentity
      arguments: {}

Structs§

Functions§

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