nomad.Provider
Explore with Pulumi AI
The provider type for the nomad 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: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
ca_file: Optional[str] = None,
ca_pem: Optional[str] = None,
cert_file: Optional[str] = None,
cert_pem: Optional[str] = None,
consul_token: Optional[str] = None,
headers: Optional[Sequence[ProviderHeaderArgs]] = None,
http_auth: Optional[str] = None,
ignore_env_vars: Optional[Mapping[str, bool]] = None,
key_file: Optional[str] = None,
key_pem: Optional[str] = None,
region: Optional[str] = None,
secret_id: Optional[str] = None,
skip_verify: Optional[bool] = None,
vault_token: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:nomad
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:
- Address string
- URL of the root of the target Nomad agent.
- Ca
File string - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- Ca
Pem string - PEM-encoded certificate authority used to verify the remote agent's certificate.
- Cert
File string - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- Cert
Pem string - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- Consul
Token string - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- Headers
List<Provider
Header> - The headers to send with each Nomad request.
- Http
Auth string - HTTP basic auth configuration.
- Ignore
Env Dictionary<string, bool>Vars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- Key
File string - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- Key
Pem string - PEM-encoded private key, required if cert_file or cert_pem is specified.
- Region string
- Region of the target Nomad agent.
- Secret
Id string - ACL token secret for API requests.
- Skip
Verify bool - Skip TLS verification on client side.
- Vault
Token string - Vault token if policies are specified in the job file.
- Address string
- URL of the root of the target Nomad agent.
- Ca
File string - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- Ca
Pem string - PEM-encoded certificate authority used to verify the remote agent's certificate.
- Cert
File string - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- Cert
Pem string - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- Consul
Token string - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- Headers
[]Provider
Header Args - The headers to send with each Nomad request.
- Http
Auth string - HTTP basic auth configuration.
- Ignore
Env map[string]boolVars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- Key
File string - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- Key
Pem string - PEM-encoded private key, required if cert_file or cert_pem is specified.
- Region string
- Region of the target Nomad agent.
- Secret
Id string - ACL token secret for API requests.
- Skip
Verify bool - Skip TLS verification on client side.
- Vault
Token string - Vault token if policies are specified in the job file.
- address String
- URL of the root of the target Nomad agent.
- ca
File String - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- ca
Pem String - PEM-encoded certificate authority used to verify the remote agent's certificate.
- cert
File String - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- cert
Pem String - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- consul
Token String - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- headers
List<Provider
Header> - The headers to send with each Nomad request.
- http
Auth String - HTTP basic auth configuration.
- ignore
Env Map<String,Boolean>Vars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- key
File String - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- key
Pem String - PEM-encoded private key, required if cert_file or cert_pem is specified.
- region String
- Region of the target Nomad agent.
- secret
Id String - ACL token secret for API requests.
- skip
Verify Boolean - Skip TLS verification on client side.
- vault
Token String - Vault token if policies are specified in the job file.
- address string
- URL of the root of the target Nomad agent.
- ca
File string - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- ca
Pem string - PEM-encoded certificate authority used to verify the remote agent's certificate.
- cert
File string - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- cert
Pem string - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- consul
Token string - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- headers
Provider
Header[] - The headers to send with each Nomad request.
- http
Auth string - HTTP basic auth configuration.
- ignore
Env {[key: string]: boolean}Vars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- key
File string - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- key
Pem string - PEM-encoded private key, required if cert_file or cert_pem is specified.
- region string
- Region of the target Nomad agent.
- secret
Id string - ACL token secret for API requests.
- skip
Verify boolean - Skip TLS verification on client side.
- vault
Token string - Vault token if policies are specified in the job file.
- address str
- URL of the root of the target Nomad agent.
- ca_
file str - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- ca_
pem str - PEM-encoded certificate authority used to verify the remote agent's certificate.
- cert_
file str - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- cert_
pem str - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- consul_
token str - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- headers
Sequence[Provider
Header Args] - The headers to send with each Nomad request.
- http_
auth str - HTTP basic auth configuration.
- ignore_
env_ Mapping[str, bool]vars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- key_
file str - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- key_
pem str - PEM-encoded private key, required if cert_file or cert_pem is specified.
- region str
- Region of the target Nomad agent.
- secret_
id str - ACL token secret for API requests.
- skip_
verify bool - Skip TLS verification on client side.
- vault_
token str - Vault token if policies are specified in the job file.
- address String
- URL of the root of the target Nomad agent.
- ca
File String - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
- ca
Pem String - PEM-encoded certificate authority used to verify the remote agent's certificate.
- cert
File String - A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- cert
Pem String - PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
- consul
Token String - Consul token to validate Consul Connect Service Identity policies specified in the job file.
- headers List<Property Map>
- The headers to send with each Nomad request.
- http
Auth String - HTTP basic auth configuration.
- ignore
Env Map<Boolean>Vars - A set of environment variables that are ignored by the provider when configuring the Nomad API client.
- key
File String - A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
- key
Pem String - PEM-encoded private key, required if cert_file or cert_pem is specified.
- region String
- Region of the target Nomad agent.
- secret
Id String - ACL token secret for API requests.
- skip
Verify Boolean - Skip TLS verification on client side.
- vault
Token String - Vault token if policies are specified in the job file.
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.
Supporting Types
ProviderHeader, ProviderHeaderArgs
Package Details
- Repository
- HashiCorp Nomad pulumi/pulumi-nomad
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nomad
Terraform Provider.