You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[mach-composer cloud create-api-client](mach-composer_cloud_create-api-client.md) - Manage your components
30
-
*[mach-composer cloud create-component](mach-composer_cloud_create-component.md) - Register a new component
30
+
*[mach-composer cloud create-component](mach-composer_cloud_create-component.md) - Register a new component. If key is not provided it will be generated from the name
31
31
*[mach-composer cloud create-organization](mach-composer_cloud_create-organization.md) - Create a new organization
32
32
*[mach-composer cloud create-project](mach-composer_cloud_create-project.md) - Create a new Project
33
33
*[mach-composer cloud describe-component-versions](mach-composer_cloud_describe-component-versions.md) - List all changes for a component version
An AWS S3 state backend can be configured with the following options
69
+
70
+
### Example
71
+
72
+
```yaml
73
+
remote_state:
74
+
plugin: aws
75
+
bucket: <your bucket>
76
+
region: <your region>
77
+
key_prefix: <your key prefix>
78
+
role_arn: <your role arn>
79
+
```
80
+
81
+
### Required
82
+
83
+
- `bucket` (String) S3 bucket name
84
+
- `region`(String) AWS region
85
+
- `key_prefix`(String) Key prefix for each individual Terraform state
86
+
87
+
### Optional
88
+
89
+
- `role_arn`- Role ARN to access S3 bucket with
90
+
- `lock_table`- DynamoDB lock table
91
+
- `encrypt`- Enable server side encryption of the state file. Defaults
92
+
to `True`
61
93
62
94
## Nested schema for `azure`
63
95
@@ -89,55 +121,60 @@ as the environment
89
121
- `state_folder`(String) Folder name for each individual Terraform state.
90
122
If left empty the site identifier will be used
91
123
92
-
## Nested schema for `aws`
124
+
## Nested schema for `gcp`
93
125
94
-
An AWS S3 state backend can be configured with the following options
126
+
A GCP state backend can be configured with the following options
95
127
96
128
### Example
97
129
98
130
```yaml
99
131
remote_state:
100
-
plugin: aws
132
+
plugin: gcp
101
133
bucket: <your bucket>
102
-
region: <your region>
103
-
key_prefix: <your key prefix>
104
-
role_arn: <your role arn>
134
+
prefix: <your prefix>
105
135
```
106
136
107
137
### Required
108
138
109
-
- `bucket`(String) S3 bucket name
110
-
- `region`(String) AWS region
111
-
- `key_prefix`(String) Key prefix for each individual Terraform state
112
-
113
-
### Optional
114
-
115
-
- `role_arn`- Role ARN to access S3 bucket with
116
-
- `lock_table`- DynamoDB lock table
117
-
- `encrypt`- Enable server side encryption of the state file. Defaults
118
-
to `True`
139
+
- `bucket`(String) GCS bucket name
140
+
- `prefix`(String) Prefix for each individual Terraform state
119
141
120
-
## Nested schema for `gcp`
142
+
## Nested schema for `http`
121
143
122
-
A GCP state backend can be configured with the following options
144
+
An HTTP state backend can be configured with the following options.
123
145
124
146
### Example
125
147
126
148
```yaml
127
149
remote_state:
128
-
plugin: gcp
129
-
bucket: <your bucket>
130
-
prefix: <your prefix>
150
+
plugin: http
151
+
address: https://example.com/state
131
152
```
132
153
133
154
### Required
134
155
135
-
- `bucket`(String) GCS bucket name
136
-
- `prefix`(String) Prefix for each individual Terraform state
156
+
- `address`(String) The address of the REST endpoint.
157
+
158
+
### Optional
159
+
160
+
- `update_method`(String) HTTP method to use when updating state. Defaults to `POST`.
161
+
- `lock_address`(String) The address of the lock REST endpoint. Defaults to disabled.
162
+
- `lock_method`(String) The HTTP method to use when locking. Defaults to `LOCK`.
163
+
- `unlock_address`(String) The address of the unlock REST endpoint. Defaults to disabled.
164
+
- `unlock_method`(String) The HTTP method to use when unlocking. Defaults to `UNLOCK`.
165
+
- `username`(String) The username for HTTP basic authentication.
166
+
- `password`(String) The password for HTTP basic authentication.
167
+
- `skip_cert_verification`(Boolean) Whether to skip TLS verification. Defaults to `false`.
168
+
- `retry_max`(Integer) The number of HTTP request retries. Defaults to `2`.
169
+
- `retry_wait_min`(Integer) The minimum time in seconds to wait between HTTP request attempts. Defaults to `1`.
170
+
- `retry_wait_max`(Integer) The maximum time in seconds to wait between HTTP request attempts. Defaults to `30`.
171
+
- `client_certificate_pem`(String) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication.
172
+
- `client_private_key_pem`(String) A PEM-encoded private key, required if `client_certificate_pem` is specified.
173
+
- `client_ca_certificate_pem`(String) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication.
137
174
138
175
## Nested schema for `local`
139
176
140
-
A GCP state backend can be configured with the following options
177
+
A local state backend can be configured with the following options
141
178
142
179
### Example
143
180
@@ -151,3 +188,27 @@ remote_state:
151
188
152
189
- `path`(String) Local path to store state files. Defaults to
153
190
`./terraform.tfstate`
191
+
192
+
## Nested schema for `terraform_cloud`
193
+
194
+
A Terraform Cloud state backend can be configured with the following options.
195
+
196
+
### Example
197
+
198
+
```yaml
199
+
remote_state:
200
+
plugin: terraform_cloud
201
+
organization: <your organization>
202
+
```
203
+
204
+
### Required
205
+
206
+
- `organization`(String) The name of the Terraform Cloud organization.
207
+
208
+
### Optional
209
+
210
+
- `hostname`(String) The hostname of the Terraform Cloud instance. Defaults to `app.terraform.io`.
211
+
- `token`(String) The token used to authenticate with the Terraform Cloud backend. It is recommended to omit this field and use `terraform login` or configure credentials in the CLI config file instead.
212
+
- `workspaces` (Block) Configuration for workspaces:
213
+
- `name`(String) The name of the workspace.
214
+
- `prefix`(String) A prefix for dynamically created workspaces.
0 commit comments