-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathTerraformStatePushOptions.Generated.cs
More file actions
47 lines (39 loc) · 1.54 KB
/
TerraformStatePushOptions.Generated.cs
File metadata and controls
47 lines (39 loc) · 1.54 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
// <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>
/// Update remote state from a local state file at PATH.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("state", "push")]
public record TerraformStatePushOptions : TerraformOptions
{
/// <summary>
/// Write the state even if lineages don't match or the remote serial is higher.
/// </summary>
[CliFlag("-force")]
public bool? Force { 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>
/// 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; }
}