1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. RegionTargetHttpsProxy
Google Cloud Classic v7.2.2 published on Monday, Jan 1, 0001 by Pulumi

gcp.compute.RegionTargetHttpsProxy

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.2.2 published on Monday, Jan 1, 0001 by Pulumi

    Represents a RegionTargetHttpsProxy resource, which is used by one or more forwarding rules to route incoming HTTPS requests to a URL map.

    To get more information about RegionTargetHttpsProxy, see:

    Example Usage

    Region Target Https Proxy Basic

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.RegionSslCertificate;
    import com.pulumi.gcp.compute.RegionSslCertificateArgs;
    import com.pulumi.gcp.compute.RegionHealthCheck;
    import com.pulumi.gcp.compute.RegionHealthCheckArgs;
    import com.pulumi.gcp.compute.inputs.RegionHealthCheckHttpHealthCheckArgs;
    import com.pulumi.gcp.compute.RegionBackendService;
    import com.pulumi.gcp.compute.RegionBackendServiceArgs;
    import com.pulumi.gcp.compute.RegionUrlMap;
    import com.pulumi.gcp.compute.RegionUrlMapArgs;
    import com.pulumi.gcp.compute.inputs.RegionUrlMapHostRuleArgs;
    import com.pulumi.gcp.compute.inputs.RegionUrlMapPathMatcherArgs;
    import com.pulumi.gcp.compute.RegionTargetHttpsProxy;
    import com.pulumi.gcp.compute.RegionTargetHttpsProxyArgs;
    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) {
            var defaultRegionSslCertificate = new RegionSslCertificate("defaultRegionSslCertificate", RegionSslCertificateArgs.builder()        
                .region("us-central1")
                .privateKey(Files.readString(Paths.get("path/to/private.key")))
                .certificate(Files.readString(Paths.get("path/to/certificate.crt")))
                .build());
    
            var defaultRegionHealthCheck = new RegionHealthCheck("defaultRegionHealthCheck", RegionHealthCheckArgs.builder()        
                .region("us-central1")
                .httpHealthCheck(RegionHealthCheckHttpHealthCheckArgs.builder()
                    .port(80)
                    .build())
                .build());
    
            var defaultRegionBackendService = new RegionBackendService("defaultRegionBackendService", RegionBackendServiceArgs.builder()        
                .region("us-central1")
                .protocol("HTTP")
                .loadBalancingScheme("INTERNAL_MANAGED")
                .timeoutSec(10)
                .healthChecks(defaultRegionHealthCheck.id())
                .build());
    
            var defaultRegionUrlMap = new RegionUrlMap("defaultRegionUrlMap", RegionUrlMapArgs.builder()        
                .region("us-central1")
                .description("a description")
                .defaultService(defaultRegionBackendService.id())
                .hostRules(RegionUrlMapHostRuleArgs.builder()
                    .hosts("mysite.com")
                    .pathMatcher("allpaths")
                    .build())
                .pathMatchers(RegionUrlMapPathMatcherArgs.builder()
                    .name("allpaths")
                    .defaultService(defaultRegionBackendService.id())
                    .pathRules(RegionUrlMapPathMatcherPathRuleArgs.builder()
                        .paths("/*")
                        .service(defaultRegionBackendService.id())
                        .build())
                    .build())
                .build());
    
            var defaultRegionTargetHttpsProxy = new RegionTargetHttpsProxy("defaultRegionTargetHttpsProxy", RegionTargetHttpsProxyArgs.builder()        
                .region("us-central1")
                .urlMap(defaultRegionUrlMap.id())
                .sslCertificates(defaultRegionSslCertificate.id())
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      defaultRegionTargetHttpsProxy:
        type: gcp:compute:RegionTargetHttpsProxy
        properties:
          region: us-central1
          urlMap: ${defaultRegionUrlMap.id}
          sslCertificates:
            - ${defaultRegionSslCertificate.id}
      defaultRegionSslCertificate:
        type: gcp:compute:RegionSslCertificate
        properties:
          region: us-central1
          privateKey:
            fn::readFile: path/to/private.key
          certificate:
            fn::readFile: path/to/certificate.crt
      defaultRegionUrlMap:
        type: gcp:compute:RegionUrlMap
        properties:
          region: us-central1
          description: a description
          defaultService: ${defaultRegionBackendService.id}
          hostRules:
            - hosts:
                - mysite.com
              pathMatcher: allpaths
          pathMatchers:
            - name: allpaths
              defaultService: ${defaultRegionBackendService.id}
              pathRules:
                - paths:
                    - /*
                  service: ${defaultRegionBackendService.id}
      defaultRegionBackendService:
        type: gcp:compute:RegionBackendService
        properties:
          region: us-central1
          protocol: HTTP
          loadBalancingScheme: INTERNAL_MANAGED
          timeoutSec: 10
          healthChecks:
            - ${defaultRegionHealthCheck.id}
      defaultRegionHealthCheck:
        type: gcp:compute:RegionHealthCheck
        properties:
          region: us-central1
          httpHealthCheck:
            port: 80
    

    Create RegionTargetHttpsProxy Resource

    new RegionTargetHttpsProxy(name: string, args: RegionTargetHttpsProxyArgs, opts?: CustomResourceOptions);
    @overload
    def RegionTargetHttpsProxy(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               description: Optional[str] = None,
                               name: Optional[str] = None,
                               project: Optional[str] = None,
                               region: Optional[str] = None,
                               ssl_certificates: Optional[Sequence[str]] = None,
                               ssl_policy: Optional[str] = None,
                               url_map: Optional[str] = None)
    @overload
    def RegionTargetHttpsProxy(resource_name: str,
                               args: RegionTargetHttpsProxyArgs,
                               opts: Optional[ResourceOptions] = None)
    func NewRegionTargetHttpsProxy(ctx *Context, name string, args RegionTargetHttpsProxyArgs, opts ...ResourceOption) (*RegionTargetHttpsProxy, error)
    public RegionTargetHttpsProxy(string name, RegionTargetHttpsProxyArgs args, CustomResourceOptions? opts = null)
    public RegionTargetHttpsProxy(String name, RegionTargetHttpsProxyArgs args)
    public RegionTargetHttpsProxy(String name, RegionTargetHttpsProxyArgs args, CustomResourceOptions options)
    
    type: gcp:compute:RegionTargetHttpsProxy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args RegionTargetHttpsProxyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegionTargetHttpsProxyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegionTargetHttpsProxyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegionTargetHttpsProxyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegionTargetHttpsProxyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RegionTargetHttpsProxy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RegionTargetHttpsProxy resource accepts the following input properties:

    SslCertificates List<string>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    UrlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    Description string

    An optional description of this resource.

    Name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    SslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    SslCertificates []string

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    UrlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    Description string

    An optional description of this resource.

    Name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    SslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    sslCertificates List<String>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    urlMap String

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    description String

    An optional description of this resource.

    name String

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    sslPolicy String

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    sslCertificates string[]

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    urlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    description string

    An optional description of this resource.

    name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    sslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    ssl_certificates Sequence[str]

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    url_map str

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    description str

    An optional description of this resource.

    name str

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region str

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    ssl_policy str

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    sslCertificates List<String>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    urlMap String

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    description String

    An optional description of this resource.

    name String

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    sslPolicy String

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RegionTargetHttpsProxy resource produces the following output properties:

    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Id string

    The provider-assigned unique ID for this managed resource.

    ProxyId int

    The unique identifier for the resource.

    SelfLink string

    The URI of the created resource.

    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Id string

    The provider-assigned unique ID for this managed resource.

    ProxyId int

    The unique identifier for the resource.

    SelfLink string

    The URI of the created resource.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    id String

    The provider-assigned unique ID for this managed resource.

    proxyId Integer

    The unique identifier for the resource.

    selfLink String

    The URI of the created resource.

    creationTimestamp string

    Creation timestamp in RFC3339 text format.

    id string

    The provider-assigned unique ID for this managed resource.

    proxyId number

    The unique identifier for the resource.

    selfLink string

    The URI of the created resource.

    creation_timestamp str

    Creation timestamp in RFC3339 text format.

    id str

    The provider-assigned unique ID for this managed resource.

    proxy_id int

    The unique identifier for the resource.

    self_link str

    The URI of the created resource.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    id String

    The provider-assigned unique ID for this managed resource.

    proxyId Number

    The unique identifier for the resource.

    selfLink String

    The URI of the created resource.

    Look up Existing RegionTargetHttpsProxy Resource

    Get an existing RegionTargetHttpsProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RegionTargetHttpsProxyState, opts?: CustomResourceOptions): RegionTargetHttpsProxy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_timestamp: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            proxy_id: Optional[int] = None,
            region: Optional[str] = None,
            self_link: Optional[str] = None,
            ssl_certificates: Optional[Sequence[str]] = None,
            ssl_policy: Optional[str] = None,
            url_map: Optional[str] = None) -> RegionTargetHttpsProxy
    func GetRegionTargetHttpsProxy(ctx *Context, name string, id IDInput, state *RegionTargetHttpsProxyState, opts ...ResourceOption) (*RegionTargetHttpsProxy, error)
    public static RegionTargetHttpsProxy Get(string name, Input<string> id, RegionTargetHttpsProxyState? state, CustomResourceOptions? opts = null)
    public static RegionTargetHttpsProxy get(String name, Output<String> id, RegionTargetHttpsProxyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Description string

    An optional description of this resource.

    Name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    ProxyId int

    The unique identifier for the resource.

    Region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    SelfLink string

    The URI of the created resource.

    SslCertificates List<string>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    SslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    UrlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Description string

    An optional description of this resource.

    Name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    ProxyId int

    The unique identifier for the resource.

    Region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    SelfLink string

    The URI of the created resource.

    SslCertificates []string

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    SslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    UrlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    description String

    An optional description of this resource.

    name String

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    proxyId Integer

    The unique identifier for the resource.

    region String

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    selfLink String

    The URI of the created resource.

    sslCertificates List<String>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    sslPolicy String

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    urlMap String

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    creationTimestamp string

    Creation timestamp in RFC3339 text format.

    description string

    An optional description of this resource.

    name string

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    proxyId number

    The unique identifier for the resource.

    region string

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    selfLink string

    The URI of the created resource.

    sslCertificates string[]

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    sslPolicy string

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    urlMap string

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    creation_timestamp str

    Creation timestamp in RFC3339 text format.

    description str

    An optional description of this resource.

    name str

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    proxy_id int

    The unique identifier for the resource.

    region str

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    self_link str

    The URI of the created resource.

    ssl_certificates Sequence[str]

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    ssl_policy str

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    url_map str

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    description String

    An optional description of this resource.

    name String

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    proxyId Number

    The unique identifier for the resource.

    region String

    The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

    selfLink String

    The URI of the created resource.

    sslCertificates List<String>

    A list of RegionSslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.

    sslPolicy String

    A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

    urlMap String

    A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


    Import

    RegionTargetHttpsProxy can be imported using any of these accepted formats* projects/{{project}}/regions/{{region}}/targetHttpsProxies/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} In Terraform v1.5.0 and later, use an import block to import RegionTargetHttpsProxy using one of the formats above. For exampletf import {

    id = “projects/{{project}}/regions/{{region}}/targetHttpsProxies/{{name}}”

    to = google_compute_region_target_https_proxy.default }

     $ pulumi import gcp:compute/regionTargetHttpsProxy:RegionTargetHttpsProxy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), RegionTargetHttpsProxy can be imported using one of the formats above. For example
    
     $ pulumi import gcp:compute/regionTargetHttpsProxy:RegionTargetHttpsProxy default projects/{{project}}/regions/{{region}}/targetHttpsProxies/{{name}}
    
     $ pulumi import gcp:compute/regionTargetHttpsProxy:RegionTargetHttpsProxy default {{project}}/{{region}}/{{name}}
    
     $ pulumi import gcp:compute/regionTargetHttpsProxy:RegionTargetHttpsProxy default {{region}}/{{name}}
    
     $ pulumi import gcp:compute/regionTargetHttpsProxy:RegionTargetHttpsProxy default {{name}}
    

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the google-beta Terraform Provider.

    gcp logo
    Google Cloud Classic v7.2.2 published on Monday, Jan 1, 0001 by Pulumi