-
Notifications
You must be signed in to change notification settings - Fork 6
/
DataTerraformRemoteStateHttpConfig.go
77 lines (73 loc) · 3.08 KB
/
DataTerraformRemoteStateHttpConfig.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package cdktf
// Experimental.
type DataTerraformRemoteStateHttpConfig struct {
// Experimental.
Defaults *map[string]interface{} `field:"optional" json:"defaults" yaml:"defaults"`
// Experimental.
Workspace *string `field:"optional" json:"workspace" yaml:"workspace"`
// (Required) The address of the REST endpoint.
// Experimental.
Address *string `field:"required" json:"address" yaml:"address"`
// (Optional) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication.
// Experimental.
ClientCaCertificatePem *string `field:"optional" json:"clientCaCertificatePem" yaml:"clientCaCertificatePem"`
// (Optional) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication.
// Experimental.
ClientCertificatePem *string `field:"optional" json:"clientCertificatePem" yaml:"clientCertificatePem"`
// (Optional) A PEM-encoded private key, required if client_certificate_pem is specified.
// Experimental.
ClientPrivateKeyPem *string `field:"optional" json:"clientPrivateKeyPem" yaml:"clientPrivateKeyPem"`
// (Optional) The address of the lock REST endpoint.
//
// Defaults to disabled.
// Experimental.
LockAddress *string `field:"optional" json:"lockAddress" yaml:"lockAddress"`
// (Optional) The HTTP method to use when locking.
//
// Defaults to LOCK.
// Experimental.
LockMethod *string `field:"optional" json:"lockMethod" yaml:"lockMethod"`
// (Optional) The password for HTTP basic authentication.
// Experimental.
Password *string `field:"optional" json:"password" yaml:"password"`
// (Optional) The number of HTTP request retries.
//
// Defaults to 2.
// Experimental.
RetryMax *float64 `field:"optional" json:"retryMax" yaml:"retryMax"`
// (Optional) The maximum time in seconds to wait between HTTP request attempts.
//
// Defaults to 30.
// Experimental.
RetryWaitMax *float64 `field:"optional" json:"retryWaitMax" yaml:"retryWaitMax"`
// (Optional) The minimum time in seconds to wait between HTTP request attempts.
//
// Defaults to 1.
// Experimental.
RetryWaitMin *float64 `field:"optional" json:"retryWaitMin" yaml:"retryWaitMin"`
// (Optional) Whether to skip TLS verification.
//
// Defaults to false.
// Experimental.
SkipCertVerification *bool `field:"optional" json:"skipCertVerification" yaml:"skipCertVerification"`
// (Optional) The address of the unlock REST endpoint.
//
// Defaults to disabled.
// Experimental.
UnlockAddress *string `field:"optional" json:"unlockAddress" yaml:"unlockAddress"`
// (Optional) The HTTP method to use when unlocking.
//
// Defaults to UNLOCK.
// Experimental.
UnlockMethod *string `field:"optional" json:"unlockMethod" yaml:"unlockMethod"`
// (Optional) HTTP method to use when updating state.
//
// Defaults to POST.
// Experimental.
UpdateMethod *string `field:"optional" json:"updateMethod" yaml:"updateMethod"`
// (Optional) The username for HTTP basic authentication.
// Experimental.
Username *string `field:"optional" json:"username" yaml:"username"`
}