published on Friday, Nov 13, 2026 by Pulumi
published on Friday, Nov 13, 2026 by Pulumi
Create TaxLocation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TaxLocation(name: string, args: TaxLocationArgs, opts?: CustomResourceOptions);@overload
def TaxLocation(resource_name: str,
args: TaxLocationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TaxLocation(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[TaxLocationAddressArgs] = None,
type: Optional[str] = None,
description: Optional[str] = None)func NewTaxLocation(ctx *Context, name string, args TaxLocationArgs, opts ...ResourceOption) (*TaxLocation, error)public TaxLocation(string name, TaxLocationArgs args, CustomResourceOptions? opts = null)
public TaxLocation(String name, TaxLocationArgs args)
public TaxLocation(String name, TaxLocationArgs args, CustomResourceOptions options)
type: stripe:TaxLocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stripe_tax_location" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TaxLocationArgs
- 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 TaxLocationArgs
- 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 TaxLocationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaxLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaxLocationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var taxLocationResource = new Stripe.TaxLocation("taxLocationResource", new()
{
Address = new Stripe.Inputs.TaxLocationAddressArgs
{
Country = "string",
City = "string",
Line1 = "string",
Line2 = "string",
PostalCode = "string",
State = "string",
},
Type = "string",
Description = "string",
});
example, err := stripe.NewTaxLocation(ctx, "taxLocationResource", &stripe.TaxLocationArgs{
Address: &stripe.TaxLocationAddressArgs{
Country: pulumi.String("string"),
City: pulumi.String("string"),
Line1: pulumi.String("string"),
Line2: pulumi.String("string"),
PostalCode: pulumi.String("string"),
State: pulumi.String("string"),
},
Type: pulumi.String("string"),
Description: pulumi.String("string"),
})
resource "stripe_tax_location" "taxLocationResource" {
lifecycle {
create_before_destroy = true
}
address = {
country = "string"
city = "string"
line1 = "string"
line2 = "string"
postal_code = "string"
state = "string"
}
type = "string"
description = "string"
}
var taxLocationResource = new TaxLocation("taxLocationResource", TaxLocationArgs.builder()
.address(TaxLocationAddressArgs.builder()
.country("string")
.city("string")
.line1("string")
.line2("string")
.postalCode("string")
.state("string")
.build())
.type("string")
.description("string")
.build());
tax_location_resource = stripe.TaxLocation("taxLocationResource",
address={
"country": "string",
"city": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string",
},
type="string",
description="string")
const taxLocationResource = new stripe.TaxLocation("taxLocationResource", {
address: {
country: "string",
city: "string",
line1: "string",
line2: "string",
postalCode: "string",
state: "string",
},
type: "string",
description: "string",
});
type: stripe:TaxLocation
properties:
address:
city: string
country: string
line1: string
line2: string
postalCode: string
state: string
description: string
type: string
TaxLocation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TaxLocation resource accepts the following input properties:
- Address
Tax
Location Address - Type string
- The type of tax location to be defined. Currently the only option is
performance. - Description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- Address
Tax
Location Address Args - Type string
- The type of tax location to be defined. Currently the only option is
performance. - Description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- address object
- type string
- The type of tax location to be defined. Currently the only option is
performance. - description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- address
Tax
Location Address - type String
- The type of tax location to be defined. Currently the only option is
performance. - description String
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- address
Tax
Location Address - type string
- The type of tax location to be defined. Currently the only option is
performance. - description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- address
Tax
Location Address Args - type str
- The type of tax location to be defined. Currently the only option is
performance. - description str
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- address Property Map
- type String
- The type of tax location to be defined. Currently the only option is
performance. - description String
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
Outputs
All input properties are implicitly available as output properties. Additionally, the TaxLocation resource produces the following output properties:
Look up Existing TaxLocation Resource
Get an existing TaxLocation 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?: TaxLocationState, opts?: CustomResourceOptions): TaxLocation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[TaxLocationAddressArgs] = None,
description: Optional[str] = None,
livemode: Optional[bool] = None,
object: Optional[str] = None,
type: Optional[str] = None) -> TaxLocationfunc GetTaxLocation(ctx *Context, name string, id IDInput, state *TaxLocationState, opts ...ResourceOption) (*TaxLocation, error)public static TaxLocation Get(string name, Input<string> id, TaxLocationState? state, CustomResourceOptions? opts = null)public static TaxLocation get(String name, Output<String> id, TaxLocationState state, CustomResourceOptions options)resources: _: type: stripe:TaxLocation get: id: ${id}import {
to = stripe_tax_location.example
id = "${id}"
}
- 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.
- Address
Tax
Location Address - Description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Object string
- String representing the object's type. Objects of the same type share the same value.
- Type string
- The type of tax location to be defined. Currently the only option is
performance.
- Address
Tax
Location Address Args - Description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Object string
- String representing the object's type. Objects of the same type share the same value.
- Type string
- The type of tax location to be defined. Currently the only option is
performance.
- address object
- description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object string
- String representing the object's type. Objects of the same type share the same value.
- type string
- The type of tax location to be defined. Currently the only option is
performance.
- address
Tax
Location Address - description String
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object String
- String representing the object's type. Objects of the same type share the same value.
- type String
- The type of tax location to be defined. Currently the only option is
performance.
- address
Tax
Location Address - description string
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- livemode boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object string
- String representing the object's type. Objects of the same type share the same value.
- type string
- The type of tax location to be defined. Currently the only option is
performance.
- address
Tax
Location Address Args - description str
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object str
- String representing the object's type. Objects of the same type share the same value.
- type str
- The type of tax location to be defined. Currently the only option is
performance.
- address Property Map
- description String
- A descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object String
- String representing the object's type. Objects of the same type share the same value.
- type String
- The type of tax location to be defined. Currently the only option is
performance.
Supporting Types
TaxLocationAddress, TaxLocationAddressArgs
- Country string
- Two-letter country code (ISO 3166-1 alpha-2).
- City string
- City, district, suburb, town, or village.
- Line1 string
- Address line 1, such as the street, PO Box, or company name.
- Line2 string
- Address line 2, such as the apartment, suite, unit, or building.
- Postal
Code string - ZIP or postal code.
- State string
- State, county, province, or region (ISO 3166-2).
- Country string
- Two-letter country code (ISO 3166-1 alpha-2).
- City string
- City, district, suburb, town, or village.
- Line1 string
- Address line 1, such as the street, PO Box, or company name.
- Line2 string
- Address line 2, such as the apartment, suite, unit, or building.
- Postal
Code string - ZIP or postal code.
- State string
- State, county, province, or region (ISO 3166-2).
- country string
- Two-letter country code (ISO 3166-1 alpha-2).
- city string
- City, district, suburb, town, or village.
- line1 string
- Address line 1, such as the street, PO Box, or company name.
- line2 string
- Address line 2, such as the apartment, suite, unit, or building.
- postal_
code string - ZIP or postal code.
- state string
- State, county, province, or region (ISO 3166-2).
- country String
- Two-letter country code (ISO 3166-1 alpha-2).
- city String
- City, district, suburb, town, or village.
- line1 String
- Address line 1, such as the street, PO Box, or company name.
- line2 String
- Address line 2, such as the apartment, suite, unit, or building.
- postal
Code String - ZIP or postal code.
- state String
- State, county, province, or region (ISO 3166-2).
- country string
- Two-letter country code (ISO 3166-1 alpha-2).
- city string
- City, district, suburb, town, or village.
- line1 string
- Address line 1, such as the street, PO Box, or company name.
- line2 string
- Address line 2, such as the apartment, suite, unit, or building.
- postal
Code string - ZIP or postal code.
- state string
- State, county, province, or region (ISO 3166-2).
- country str
- Two-letter country code (ISO 3166-1 alpha-2).
- city str
- City, district, suburb, town, or village.
- line1 str
- Address line 1, such as the street, PO Box, or company name.
- line2 str
- Address line 2, such as the apartment, suite, unit, or building.
- postal_
code str - ZIP or postal code.
- state str
- State, county, province, or region (ISO 3166-2).
- country String
- Two-letter country code (ISO 3166-1 alpha-2).
- city String
- City, district, suburb, town, or village.
- line1 String
- Address line 1, such as the street, PO Box, or company name.
- line2 String
- Address line 2, such as the apartment, suite, unit, or building.
- postal
Code String - ZIP or postal code.
- state String
- State, county, province, or region (ISO 3166-2).
Package Details
- Repository
- stripe stripe/terraform-provider-stripe
- License
- Notes
- This Pulumi package is based on the
stripeTerraform Provider.
published on Friday, Nov 13, 2026 by Pulumi