@@ -231,6 +231,7 @@ def init(
231231 lockfile : str = None ,
232232 ignore_remote_version : bool = None ,
233233 test_directory : str = None ,
234+ enable_pluggable_state_storage_experiment : bool = None ,
234235 ** options ,
235236 ) -> CommandResult :
236237 """Refer to https://developer.hashicorp.com/terraform/cli/commands/init
@@ -289,6 +290,8 @@ def init(
289290 See the documentation on configuring Terraform with
290291 HCP Terraform or Terraform Enterprise for more information.
291292 :param test_directory: Set the Terraform test directory, defaults to "tests".
293+ :param enable_pluggable_state_storage_experiment: Enable Terraform's
294+ experimental pluggable state storage initialization path.
292295 :param options: More command options.
293296 """
294297 options .update (
@@ -308,6 +311,9 @@ def init(
308311 lockfile = lockfile ,
309312 ignore_remote_version = flag (ignore_remote_version ),
310313 test_directory = test_directory ,
314+ enable_pluggable_state_storage_experiment = flag (
315+ enable_pluggable_state_storage_experiment
316+ ),
311317 )
312318 retcode , stdout , stderr = self .run (
313319 "init" , options = options , chdir = self .cwd , check = check
@@ -321,6 +327,7 @@ def validate(
321327 no_color : bool = True ,
322328 no_test : bool = None ,
323329 test_directory : str = None ,
330+ query : bool = None ,
324331 ** options ,
325332 ) -> CommandResult :
326333 """Refer to https://developer.hashicorp.com/terraform/cli/commands/validate
@@ -354,12 +361,14 @@ def validate(
354361 :param no_color: True to output not contain any color.
355362 :param no_test: If specified, Terraform will not validate test files.
356363 :param test_directory: Set the Terraform test directory, defaults to "tests".
364+ :param query: If specified, Terraform will also validate .tfquery.hcl files.
357365 :param options: More command options.
358366 """
359367 options .update (
360368 no_color = flag (no_color ),
361369 no_test = flag (no_test ),
362370 test_directory = test_directory ,
371+ query = flag (query ),
363372 )
364373 retcode , stdout , stderr = self .run (
365374 "validate" , options = options , chdir = self .cwd , check = check , json = json
@@ -1792,6 +1801,7 @@ def test(
17921801 test_directory : str = None ,
17931802 run_parallelism : int = None ,
17941803 verbose : bool = None ,
1804+ allow_deferral : bool = None ,
17951805 ** options ,
17961806 ):
17971807 """Refer to https://developer.hashicorp.com/terraform/cli/commands/test
@@ -1829,6 +1839,8 @@ def test(
18291839 in parallel within a file. Defaults to 10.
18301840 :param verbose: Print the plan or state for each test run block as it
18311841 executes.
1842+ :param allow_deferral: Allow deferred actions during test operations.
1843+ Terraform accepts this flag only in experimental builds.
18321844 :param options: More command options.
18331845 """
18341846 options .update (
@@ -1841,6 +1853,7 @@ def test(
18411853 test_directory = test_directory ,
18421854 run_parallelism = run_parallelism ,
18431855 verbose = flag (verbose ),
1856+ allow_deferral = flag (allow_deferral ),
18441857 )
18451858 retcode , stdout , stderr = self .run (
18461859 "test" , options = options , chdir = self .cwd , check = check , json = json
0 commit comments