HashiCorp Nomad

Pulumi Official
Package maintained by Pulumi
v0.2.1 published on Tuesday, Dec 7, 2021 by Pulumi

Provider

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 a Provider Resource

new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@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,
             key_file: Optional[str] = None,
             key_pem: Optional[str] = None,
             region: Optional[str] = None,
             secret_id: Optional[str] = None,
             vault_token: Optional[str] = None)
@overload
def Provider(resource_name: str,
             args: ProviderArgs,
             opts: Optional[ResourceOptions] = 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.

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

The Provider resource accepts the following input properties:

Address string

URL of the root of the target Nomad agent.

CaFile string

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

CaPem string

PEM-encoded certificate authority used to verify the remote agent's certificate.

CertFile string

A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

CertPem string

PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

ConsulToken string

Consul token to validate Consul Connect Service Identity policies specified in the job file.

Headers List<ProviderHeaderArgs>

The headers to send with each Nomad request.

HttpAuth string

HTTP basic auth configuration.

KeyFile string

A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.

KeyPem string

PEM-encoded private key, required if cert_file or cert_pem is specified.

Region string

Region of the target Nomad agent.

SecretId string

ACL token secret for API requests.

VaultToken string

Vault token if policies are specified in the job file.

Address string

URL of the root of the target Nomad agent.

CaFile string

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

CaPem string

PEM-encoded certificate authority used to verify the remote agent's certificate.

CertFile string

A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

CertPem string

PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

ConsulToken string

Consul token to validate Consul Connect Service Identity policies specified in the job file.

Headers []ProviderHeaderArgs

The headers to send with each Nomad request.

HttpAuth string

HTTP basic auth configuration.

KeyFile string

A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.

KeyPem string

PEM-encoded private key, required if cert_file or cert_pem is specified.

Region string

Region of the target Nomad agent.

SecretId string

ACL token secret for API requests.

VaultToken string

Vault token if policies are specified in the job file.

address String

URL of the root of the target Nomad agent.

caFile String

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

caPem String

PEM-encoded certificate authority used to verify the remote agent's certificate.

certFile String

A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

certPem String

PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

consulToken String

Consul token to validate Consul Connect Service Identity policies specified in the job file.

headers ListHeaderArgs>

The headers to send with each Nomad request.

httpAuth String

HTTP basic auth configuration.

keyFile String

A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.

keyPem String

PEM-encoded private key, required if cert_file or cert_pem is specified.

region String

Region of the target Nomad agent.

secretId String

ACL token secret for API requests.

vaultToken String

Vault token if policies are specified in the job file.

address string

URL of the root of the target Nomad agent.

caFile string

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

caPem string

PEM-encoded certificate authority used to verify the remote agent's certificate.

certFile string

A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

certPem string

PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

consulToken string

Consul token to validate Consul Connect Service Identity policies specified in the job file.

headers ProviderHeaderArgs[]

The headers to send with each Nomad request.

httpAuth string

HTTP basic auth configuration.

keyFile string

A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.

keyPem string

PEM-encoded private key, required if cert_file or cert_pem is specified.

region string

Region of the target Nomad agent.

secretId string

ACL token secret for API requests.

vaultToken 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[ProviderHeaderArgs]

The headers to send with each Nomad request.

http_auth str

HTTP basic auth configuration.

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.

vault_token str

Vault token if policies are specified in the job file.

address String

URL of the root of the target Nomad agent.

caFile String

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

caPem String

PEM-encoded certificate authority used to verify the remote agent's certificate.

certFile String

A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

certPem String

PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.

consulToken String

Consul token to validate Consul Connect Service Identity policies specified in the job file.

headers List

The headers to send with each Nomad request.

httpAuth String

HTTP basic auth configuration.

keyFile String

A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.

keyPem String

PEM-encoded private key, required if cert_file or cert_pem is specified.

region String

Region of the target Nomad agent.

secretId String

ACL token secret for API requests.

vaultToken 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

Name string
Value string
Name string
Value string
name String
value String
name string
value string
name str
value str
name String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-nomad
License
Apache-2.0
Notes

This Pulumi package is based on the nomad Terraform Provider.