Skip to content

Commit

Permalink
Upgrade to v1.14.0 of the F5BigIp Terraform Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed May 31, 2022
1 parent 2a11c30 commit ad250fd
Show file tree
Hide file tree
Showing 54 changed files with 7,696 additions and 76 deletions.
812 changes: 801 additions & 11 deletions provider/cmd/pulumi-resource-f5bigip/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ require (
github.com/pulumi/pulumi/sdk/v3 v3.30.0
)

replace github.com/F5Networks/terraform-provider-bigip => github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220302180104-0b3a482e5983
replace github.com/F5Networks/terraform-provider-bigip => github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220526124114-f5b0215f2250
21 changes: 12 additions & 9 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/f5devcentral/go-bigip v0.0.0-20220302174144-f3febbee09dd h1:7D1aPpFX/62+GmwB/1KDIa+vt5/FycUIYXz/tT1TnFE=
github.com/f5devcentral/go-bigip v0.0.0-20220302174144-f3febbee09dd/go.mod h1:JZj/iVxDmEnGPyEwuNj7x0fuH2CtUBbD2J48MMp/SE8=
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20220302174144-f3febbee09dd h1:jDLWC4FF15tC0Lbi/dPrJGW3O2zV5/XtWJ92GB2Kxo4=
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20220302174144-f3febbee09dd/go.mod h1:r7o5I22EvO+fps2u10bz4ZUlTlNHopQSWzVcW19hK3U=
github.com/f5devcentral/go-bigip v0.0.0-20220526061831-88d8c31a7460 h1:OxoV4q+YkWLLo0hoF/BC/0gO9duF4C18mjnuLb6lg24=
github.com/f5devcentral/go-bigip v0.0.0-20220526061831-88d8c31a7460/go.mod h1:JZj/iVxDmEnGPyEwuNj7x0fuH2CtUBbD2J48MMp/SE8=
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20220526061831-88d8c31a7460 h1:122UbV1NSQ0zXxFDGYfTo1jfY18d2UyNWEAiaEetjMM=
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20220526061831-88d8c31a7460/go.mod h1:r7o5I22EvO+fps2u10bz4ZUlTlNHopQSWzVcW19hK3U=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
Expand Down Expand Up @@ -403,8 +403,9 @@ github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUK
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs=
github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY=
github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY=
github.com/hashicorp/go-getter v1.5.3 h1:NF5+zOlQegim+w/EUhSLh6QhXHmZMEeHLQzllkQ3ROU=
github.com/hashicorp/go-getter v1.5.3/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI=
github.com/hashicorp/go-getter v1.6.1 h1:NASsgP4q6tL94WH6nJxKWj8As2H/2kop/bB1d8JMyRY=
github.com/hashicorp/go-getter v1.6.1/go.mod h1:IZCrswsZPeWv9IkVnLElzRU/gz/QPi6pZHn4tv6vbwA=
github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI=
github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
Expand Down Expand Up @@ -708,8 +709,8 @@ github.com/pulumi/pulumi/sdk/v3 v3.30.0 h1:0X5gSUS3x82XzenpCCW8EdJrmOzoQqHSdQd0O
github.com/pulumi/pulumi/sdk/v3 v3.30.0/go.mod h1:hGo/+AL1L4sPL9Ukd/i5bNFM3WHs3dHcA+GKEW7M3RA=
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk=
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220302180104-0b3a482e5983 h1:MRulDKX35KzUflei/QwcJh5XOldPeccuvcct0dh1m7k=
github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220302180104-0b3a482e5983/go.mod h1:Y0upoTfvjhb2T0TIzgTztSwjr3HQjSdDy5idWdpOrG8=
github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220526124114-f5b0215f2250 h1:aRIz0ETeY5RY5MtE88BQW8qfSsIIUQ4QYtlJVCYbeOE=
github.com/pulumi/terraform-provider-bigip v1.1.1-0.20220526124114-f5b0215f2250/go.mod h1:wyZPM9UHDl/r4mqhNB88Cobady0/EDOamHP0i6NTfOM=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8=
Expand Down Expand Up @@ -1051,8 +1052,9 @@ golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210817190340-bfb29a6856f2/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 h1:XDXtA5hveEEV8JB2l7nhMTp3t3cHp9ZpwcdjqyEWLlo=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e h1:w36l2Uw3dRan1K3TyXriXvY+6T56GNmlKGcqiQUJDfM=
golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
Expand All @@ -1064,8 +1066,9 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
11 changes: 11 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func Provider() tfbridge.ProviderInfo {
"bigip_fast_template": {Tok: makeResource(mainMod, "FastTemplate")},
"bigip_fast_application": {Tok: makeResource(mainMod, "FastApplication")},
"bigip_ipsec_profile": {Tok: makeResource(mainMod, "IpsecProfile")},
"bigip_waf_policy": {Tok: makeResource(mainMod, "WafPolicy")},
},
DataSources: map[string]*tfbridge.DataSourceInfo{
"bigip_ltm_datagroup": {Tok: makeDataSource(ltmMod, "getDataGroup")},
Expand All @@ -148,6 +149,16 @@ func Provider() tfbridge.ProviderInfo {
"bigip_ltm_policy": {Tok: makeDataSource(ltmMod, "getPolicy")},
"bigip_ssl_certificate": {Tok: makeDataSource(sslMod, "getCertificate")},
"bigip_vwan_config": {Tok: makeDataSource(sslMod, "getVWanConfig")},
"bigip_waf_entity_parameter": {
Tok: makeDataSource(sslMod, "getWafEntityParameter"),
Docs: &tfbridge.DocInfo{
Markdown: []byte(" "),
},
},
"bigip_waf_entity_url": {Tok: makeDataSource(sslMod, "getWafEntityUrl")},
"bigip_waf_pb_suggestions": {Tok: makeDataSource(sslMod, "getWafPbSuggestions")},
"bigip_waf_policy": {Tok: makeDataSource(sslMod, "getWafPolicy")},
"bigip_waf_signatures": {Tok: makeDataSource(sslMod, "getWafSignatures")},
},
JavaScript: &tfbridge.JavaScriptInfo{
Dependencies: map[string]string{
Expand Down
18 changes: 9 additions & 9 deletions sdk/dotnet/BigIqAs3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public partial class BigIqAs3 : Pulumi.CustomResource
public Output<string> BigiqAddress { get; private set; } = null!;

/// <summary>
/// Login reference for token authentication (see BIG-IQ REST docs for details)
/// BIGIQ Login reference for token authentication
/// </summary>
[Output("bigiqLoginRef")]
public Output<string?> BigiqLoginRef { get; private set; } = null!;
Expand All @@ -66,13 +66,13 @@ public partial class BigIqAs3 : Pulumi.CustomResource
public Output<string> BigiqPassword { get; private set; } = null!;

/// <summary>
/// The registration key pool to use
/// type `int`, BIGIQ License Manager Port number, specify if port is other than `443`
/// </summary>
[Output("bigiqPort")]
public Output<string?> BigiqPort { get; private set; } = null!;

/// <summary>
/// Enable to use an external authentication source (LDAP, TACACS, etc)
/// type `bool`, if set to `true` enables Token based Authentication,default is `false`
/// </summary>
[Output("bigiqTokenAuth")]
public Output<bool?> BigiqTokenAuth { get; private set; } = null!;
Expand Down Expand Up @@ -154,7 +154,7 @@ public sealed class BigIqAs3Args : Pulumi.ResourceArgs
public Input<string> BigiqAddress { get; set; } = null!;

/// <summary>
/// Login reference for token authentication (see BIG-IQ REST docs for details)
/// BIGIQ Login reference for token authentication
/// </summary>
[Input("bigiqLoginRef")]
public Input<string>? BigiqLoginRef { get; set; }
Expand All @@ -166,13 +166,13 @@ public sealed class BigIqAs3Args : Pulumi.ResourceArgs
public Input<string> BigiqPassword { get; set; } = null!;

/// <summary>
/// The registration key pool to use
/// type `int`, BIGIQ License Manager Port number, specify if port is other than `443`
/// </summary>
[Input("bigiqPort")]
public Input<string>? BigiqPort { get; set; }

/// <summary>
/// Enable to use an external authentication source (LDAP, TACACS, etc)
/// type `bool`, if set to `true` enables Token based Authentication,default is `false`
/// </summary>
[Input("bigiqTokenAuth")]
public Input<bool>? BigiqTokenAuth { get; set; }
Expand Down Expand Up @@ -215,7 +215,7 @@ public sealed class BigIqAs3State : Pulumi.ResourceArgs
public Input<string>? BigiqAddress { get; set; }

/// <summary>
/// Login reference for token authentication (see BIG-IQ REST docs for details)
/// BIGIQ Login reference for token authentication
/// </summary>
[Input("bigiqLoginRef")]
public Input<string>? BigiqLoginRef { get; set; }
Expand All @@ -227,13 +227,13 @@ public sealed class BigIqAs3State : Pulumi.ResourceArgs
public Input<string>? BigiqPassword { get; set; }

/// <summary>
/// The registration key pool to use
/// type `int`, BIGIQ License Manager Port number, specify if port is other than `443`
/// </summary>
[Input("bigiqPort")]
public Input<string>? BigiqPort { get; set; }

/// <summary>
/// Enable to use an external authentication source (LDAP, TACACS, etc)
/// type `bool`, if set to `true` enables Token based Authentication,default is `false`
/// </summary>
[Input("bigiqTokenAuth")]
public Input<bool>? BigiqTokenAuth { get; set; }
Expand Down
29 changes: 29 additions & 0 deletions sdk/dotnet/Ltm/Monitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@ namespace Pulumi.F5BigIP.Ltm
/// ",
/// Timeout = 999,
/// });
/// var test_https_monitor = new F5BigIP.Ltm.Monitor("test-https-monitor", new F5BigIP.Ltm.MonitorArgs
/// {
/// Interval = 999,
/// Name = "/Common/terraform_monitor",
/// Parent = "/Common/http",
/// Send = @"GET /some/path
///
/// ",
/// SslProfile = "/Common/serverssl",
/// Timeout = 999,
/// });
/// var test_ftp_monitor = new F5BigIP.Ltm.Monitor("test-ftp-monitor", new F5BigIP.Ltm.MonitorArgs
/// {
/// Destination = "*:8008",
Expand Down Expand Up @@ -166,6 +177,12 @@ public partial class Monitor : Pulumi.CustomResource
[Output("send")]
public Output<string> Send { get; private set; } = null!;

/// <summary>
/// Specifies the ssl profile for the monitor. It only makes sense when the parent is `/Common/https`
/// </summary>
[Output("sslProfile")]
public Output<string?> SslProfile { get; private set; } = null!;

/// <summary>
/// Specifies the number of seconds to wait after a resource first responds correctly to the monitor before setting the resource to up.
/// </summary>
Expand Down Expand Up @@ -344,6 +361,12 @@ public sealed class MonitorArgs : Pulumi.ResourceArgs
[Input("send")]
public Input<string>? Send { get; set; }

/// <summary>
/// Specifies the ssl profile for the monitor. It only makes sense when the parent is `/Common/https`
/// </summary>
[Input("sslProfile")]
public Input<string>? SslProfile { get; set; }

/// <summary>
/// Specifies the number of seconds to wait after a resource first responds correctly to the monitor before setting the resource to up.
/// </summary>
Expand Down Expand Up @@ -483,6 +506,12 @@ public sealed class MonitorState : Pulumi.ResourceArgs
[Input("send")]
public Input<string>? Send { get; set; }

/// <summary>
/// Specifies the ssl profile for the monitor. It only makes sense when the parent is `/Common/https`
/// </summary>
[Input("sslProfile")]
public Input<string>? SslProfile { get; set; }

/// <summary>
/// Specifies the number of seconds to wait after a resource first responds correctly to the monitor before setting the resource to up.
/// </summary>
Expand Down
31 changes: 31 additions & 0 deletions sdk/dotnet/Net/SelfIp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,37 @@ namespace Pulumi.F5BigIP.Net
///
/// }
/// ```
/// ### Example usage with `port_lockdown` set to `["none"]`
///
/// ```csharp
/// using Pulumi;
/// using F5BigIP = Pulumi.F5BigIP;
///
/// class MyStack : Stack
/// {
/// public MyStack()
/// {
/// var selfip1 = new F5BigIP.Net.SelfIp("selfip1", new F5BigIP.Net.SelfIpArgs
/// {
/// Name = "/Common/internalselfIP",
/// Ip = "11.1.1.1/24",
/// Vlan = "/Common/internal",
/// TrafficGroup = "traffic-group-1",
/// PortLockdowns =
/// {
/// "none",
/// },
/// }, new CustomResourceOptions
/// {
/// DependsOn =
/// {
/// bigip_net_vlan.Vlan1,
/// },
/// });
/// }
///
/// }
/// ```
/// </summary>
[F5BigIPResourceType("f5bigip:net/selfIp:SelfIp")]
public partial class SelfIp : Pulumi.CustomResource
Expand Down
Loading

0 comments on commit ad250fd

Please sign in to comment.