-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathTerraformStateRmOptions.Generated.cs
More file actions
65 lines (54 loc) · 2.37 KB
/
TerraformStateRmOptions.Generated.cs
File metadata and controls
65 lines (54 loc) · 2.37 KB
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
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Terraform.Options;
namespace ModularPipelines.Terraform.Options;
/// <summary>
/// Remove one or more items from the Terraform state, causing Terraform to
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("state", "rm")]
public record TerraformStateRmOptions : TerraformOptions
{
/// <summary>
/// If set, prints out what would've been removed but doesn't actually remove anything.
/// </summary>
[CliFlag("-dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Path where Terraform should write the backup state.
/// </summary>
[CliOption("-backup", Format = OptionFormat.EqualsSeparated)]
public string? Backup { get; set; }
/// <summary>
/// Don't hold a state lock during the operation. This is dangerous if others might concurrently run commands against the same workspace.
/// </summary>
[CliFlag("-lock")]
public bool? Lock { get; set; }
/// <summary>
/// Duration to retry a state lock.
/// </summary>
[CliOption("-lock-timeout", Format = OptionFormat.EqualsSeparated)]
public string? LockTimeout { get; set; }
/// <summary>
/// Path to the state file to update. Defaults to the current workspace state. Legacy option for the local backend only. See the local backend's documentation for more information.
/// </summary>
[CliOption("-state", Format = OptionFormat.EqualsSeparated)]
public string? State { get; set; }
/// <summary>
/// Continue even if remote and local Terraform versions are incompatible. This may result in an unusable workspace, and should be used with extreme caution.
/// </summary>
[CliFlag("-ignore-remote-version")]
public bool? IgnoreRemoteVersion { get; set; }
/// <summary>
/// Load variable values from the given file, in addition to the default files terraform.tfvars and *.auto.tfvars. Use this option more than once to include more than one variables file.
/// </summary>
[CliOption("-var-file", Format = OptionFormat.EqualsSeparated)]
public string? VarFile { get; set; }
}