openstack.Provider
Explore with Pulumi AI
The provider type for the openstack package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_reauth: Optional[bool] = None,
application_credential_id: Optional[str] = None,
application_credential_name: Optional[str] = None,
application_credential_secret: Optional[str] = None,
auth_url: Optional[str] = None,
cacert_file: Optional[str] = None,
cert: Optional[str] = None,
cloud: Optional[str] = None,
default_domain: Optional[str] = None,
delayed_auth: Optional[bool] = None,
disable_no_cache_header: Optional[bool] = None,
domain_id: Optional[str] = None,
domain_name: Optional[str] = None,
enable_logging: Optional[bool] = None,
endpoint_overrides: Optional[Mapping[str, str]] = None,
endpoint_type: Optional[str] = None,
insecure: Optional[bool] = None,
key: Optional[str] = None,
max_retries: Optional[int] = None,
password: Optional[str] = None,
project_domain_id: Optional[str] = None,
project_domain_name: Optional[str] = None,
region: Optional[str] = None,
swauth: Optional[bool] = None,
system_scope: Optional[bool] = None,
tenant_id: Optional[str] = None,
tenant_name: Optional[str] = None,
token: Optional[str] = None,
user_domain_id: Optional[str] = None,
user_domain_name: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:openstack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider 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 Provider resource accepts the following input properties:
- Allow
Reauth bool - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- Application
Credential stringId - Application Credential ID to login with.
- Application
Credential stringName - Application Credential name to login with.
- Application
Credential stringSecret - Application Credential secret to login with.
- Auth
Url string - The Identity authentication URL.
- Cacert
File string - A Custom CA certificate.
- Cert string
- A client certificate to authenticate with.
- Cloud string
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- Default
Domain string - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - Delayed
Auth bool - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- Disable
No boolCache Header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - Domain
Id string - The ID of the Domain to scope to (Identity v3).
- Domain
Name string - The name of the Domain to scope to (Identity v3).
- Enable
Logging bool - Outputs very verbose logs with all calls made to and responses from OpenStack
- Endpoint
Overrides Dictionary<string, string> - A map of services with an endpoint to override what was from the Keystone catalog
- Endpoint
Type string - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- Insecure bool
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- Key string
- A client private key to authenticate with.
- Max
Retries int - How many times HTTP connection should be retried until giving up.
- Password string
- Password to login with.
- Project
Domain stringId - The ID of the domain where the proejct resides (Identity v3).
- Project
Domain stringName - The name of the domain where the project resides (Identity v3).
- Region string
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- Swauth bool
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- System
Scope bool - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - Tenant
Id string - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Tenant
Name string - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Token string
- Authentication token to use as an alternative to username/password.
- User
Domain stringId - The ID of the domain where the user resides (Identity v3).
- User
Domain stringName - The name of the domain where the user resides (Identity v3).
- User
Id string - User ID to login with.
- User
Name string - Username to login with.
- Allow
Reauth bool - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- Application
Credential stringId - Application Credential ID to login with.
- Application
Credential stringName - Application Credential name to login with.
- Application
Credential stringSecret - Application Credential secret to login with.
- Auth
Url string - The Identity authentication URL.
- Cacert
File string - A Custom CA certificate.
- Cert string
- A client certificate to authenticate with.
- Cloud string
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- Default
Domain string - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - Delayed
Auth bool - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- Disable
No boolCache Header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - Domain
Id string - The ID of the Domain to scope to (Identity v3).
- Domain
Name string - The name of the Domain to scope to (Identity v3).
- Enable
Logging bool - Outputs very verbose logs with all calls made to and responses from OpenStack
- Endpoint
Overrides map[string]string - A map of services with an endpoint to override what was from the Keystone catalog
- Endpoint
Type string - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- Insecure bool
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- Key string
- A client private key to authenticate with.
- Max
Retries int - How many times HTTP connection should be retried until giving up.
- Password string
- Password to login with.
- Project
Domain stringId - The ID of the domain where the proejct resides (Identity v3).
- Project
Domain stringName - The name of the domain where the project resides (Identity v3).
- Region string
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- Swauth bool
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- System
Scope bool - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - Tenant
Id string - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Tenant
Name string - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Token string
- Authentication token to use as an alternative to username/password.
- User
Domain stringId - The ID of the domain where the user resides (Identity v3).
- User
Domain stringName - The name of the domain where the user resides (Identity v3).
- User
Id string - User ID to login with.
- User
Name string - Username to login with.
- allow
Reauth Boolean - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- application
Credential StringId - Application Credential ID to login with.
- application
Credential StringName - Application Credential name to login with.
- application
Credential StringSecret - Application Credential secret to login with.
- auth
Url String - The Identity authentication URL.
- cacert
File String - A Custom CA certificate.
- cert String
- A client certificate to authenticate with.
- cloud String
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- default
Domain String - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - delayed
Auth Boolean - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- disable
No BooleanCache Header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - domain
Id String - The ID of the Domain to scope to (Identity v3).
- domain
Name String - The name of the Domain to scope to (Identity v3).
- enable
Logging Boolean - Outputs very verbose logs with all calls made to and responses from OpenStack
- endpoint
Overrides Map<String,String> - A map of services with an endpoint to override what was from the Keystone catalog
- endpoint
Type String - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- insecure Boolean
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- key String
- A client private key to authenticate with.
- max
Retries Integer - How many times HTTP connection should be retried until giving up.
- password String
- Password to login with.
- project
Domain StringId - The ID of the domain where the proejct resides (Identity v3).
- project
Domain StringName - The name of the domain where the project resides (Identity v3).
- region String
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- swauth Boolean
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- system
Scope Boolean - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - tenant
Id String - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant
Name String - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token String
- Authentication token to use as an alternative to username/password.
- user
Domain StringId - The ID of the domain where the user resides (Identity v3).
- user
Domain StringName - The name of the domain where the user resides (Identity v3).
- user
Id String - User ID to login with.
- user
Name String - Username to login with.
- allow
Reauth boolean - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- application
Credential stringId - Application Credential ID to login with.
- application
Credential stringName - Application Credential name to login with.
- application
Credential stringSecret - Application Credential secret to login with.
- auth
Url string - The Identity authentication URL.
- cacert
File string - A Custom CA certificate.
- cert string
- A client certificate to authenticate with.
- cloud string
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- default
Domain string - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - delayed
Auth boolean - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- disable
No booleanCache Header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - domain
Id string - The ID of the Domain to scope to (Identity v3).
- domain
Name string - The name of the Domain to scope to (Identity v3).
- enable
Logging boolean - Outputs very verbose logs with all calls made to and responses from OpenStack
- endpoint
Overrides {[key: string]: string} - A map of services with an endpoint to override what was from the Keystone catalog
- endpoint
Type string - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- insecure boolean
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- key string
- A client private key to authenticate with.
- max
Retries number - How many times HTTP connection should be retried until giving up.
- password string
- Password to login with.
- project
Domain stringId - The ID of the domain where the proejct resides (Identity v3).
- project
Domain stringName - The name of the domain where the project resides (Identity v3).
- region string
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- swauth boolean
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- system
Scope boolean - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - tenant
Id string - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant
Name string - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token string
- Authentication token to use as an alternative to username/password.
- user
Domain stringId - The ID of the domain where the user resides (Identity v3).
- user
Domain stringName - The name of the domain where the user resides (Identity v3).
- user
Id string - User ID to login with.
- user
Name string - Username to login with.
- allow_
reauth bool - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- application_
credential_ strid - Application Credential ID to login with.
- application_
credential_ strname - Application Credential name to login with.
- application_
credential_ strsecret - Application Credential secret to login with.
- auth_
url str - The Identity authentication URL.
- cacert_
file str - A Custom CA certificate.
- cert str
- A client certificate to authenticate with.
- cloud str
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- default_
domain str - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - delayed_
auth bool - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- disable_
no_ boolcache_ header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - domain_
id str - The ID of the Domain to scope to (Identity v3).
- domain_
name str - The name of the Domain to scope to (Identity v3).
- enable_
logging bool - Outputs very verbose logs with all calls made to and responses from OpenStack
- endpoint_
overrides Mapping[str, str] - A map of services with an endpoint to override what was from the Keystone catalog
- endpoint_
type str - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- insecure bool
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- key str
- A client private key to authenticate with.
- max_
retries int - How many times HTTP connection should be retried until giving up.
- password str
- Password to login with.
- project_
domain_ strid - The ID of the domain where the proejct resides (Identity v3).
- project_
domain_ strname - The name of the domain where the project resides (Identity v3).
- region str
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- swauth bool
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- system_
scope bool - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - tenant_
id str - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant_
name str - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token str
- Authentication token to use as an alternative to username/password.
- user_
domain_ strid - The ID of the domain where the user resides (Identity v3).
- user_
domain_ strname - The name of the domain where the user resides (Identity v3).
- user_
id str - User ID to login with.
- user_
name str - Username to login with.
- allow
Reauth Boolean - If set to
false
, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. Defaults totrue
It can also be sourced from the following environment variable:OS_ALLOW_REAUTH
- application
Credential StringId - Application Credential ID to login with.
- application
Credential StringName - Application Credential name to login with.
- application
Credential StringSecret - Application Credential secret to login with.
- auth
Url String - The Identity authentication URL.
- cacert
File String - A Custom CA certificate.
- cert String
- A client certificate to authenticate with.
- cloud String
- An entry in a
clouds.yaml
file to use. It can also be sourced from the following environment variable:OS_CLOUD
- default
Domain String - The name of the Domain ID to scope to if no other domain is specified. Defaults to
default
(Identity v3). - delayed
Auth Boolean - If set to
false
, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue
. It can also be sourced from the following environment variable:OS_DELAYED_AUTH
- disable
No BooleanCache Header - If set to
true
, the HTTPCache-Control: no-cache
header will not be added by default to all API requests. - domain
Id String - The ID of the Domain to scope to (Identity v3).
- domain
Name String - The name of the Domain to scope to (Identity v3).
- enable
Logging Boolean - Outputs very verbose logs with all calls made to and responses from OpenStack
- endpoint
Overrides Map<String> - A map of services with an endpoint to override what was from the Keystone catalog
- endpoint
Type String - It can also be sourced from the following environment variable:
OS_ENDPOINT_TYPE
- insecure Boolean
- Trust self-signed certificates.
It can also be sourced from the following environment variable:
OS_INSECURE
- key String
- A client private key to authenticate with.
- max
Retries Number - How many times HTTP connection should be retried until giving up.
- password String
- Password to login with.
- project
Domain StringId - The ID of the domain where the proejct resides (Identity v3).
- project
Domain StringName - The name of the domain where the project resides (Identity v3).
- region String
- The OpenStack region to connect to.
It can also be sourced from the following environment variable:
OS_REGION_NAME
- swauth Boolean
- Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
It can also be sourced from the following environment variable:
OS_SWAUTH
- system
Scope Boolean - If set to
true
, system scoped authorization will be enabled. Defaults tofalse
(Identity v3). - tenant
Id String - The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant
Name String - The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token String
- Authentication token to use as an alternative to username/password.
- user
Domain StringId - The ID of the domain where the user resides (Identity v3).
- user
Domain StringName - The name of the domain where the user resides (Identity v3).
- user
Id String - User ID to login with.
- user
Name String - Username to login with.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.