Skip to content

Commit

Permalink
Upgrade to v2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
viveklak committed Oct 4, 2022
1 parent ab76c55 commit c78126b
Show file tree
Hide file tree
Showing 15 changed files with 250 additions and 18 deletions.
18 changes: 18 additions & 0 deletions provider/cmd/pulumi-resource-fastly/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7455,6 +7455,10 @@
"type": "boolean",
"description": "Services that are active cannot be destroyed. In order to destroy the Service, set `force_destroy` to `true`. Default `false`\n"
},
"imported": {
"type": "boolean",
"description": "Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished\n"
},
"loggingBigqueries": {
"type": "array",
"items": {
Expand Down Expand Up @@ -7632,6 +7636,7 @@
"activeVersion",
"clonedVersion",
"domains",
"imported",
"name",
"package"
],
Expand Down Expand Up @@ -7886,6 +7891,10 @@
"type": "boolean",
"description": "Services that are active cannot be destroyed. In order to destroy the Service, set `force_destroy` to `true`. Default `false`\n"
},
"imported": {
"type": "boolean",
"description": "Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished\n"
},
"loggingBigqueries": {
"type": "array",
"items": {
Expand Down Expand Up @@ -8309,6 +8318,10 @@
"$ref": "#/types/fastly:index/ServiceVclHealthcheck:ServiceVclHealthcheck"
}
},
"imported": {
"type": "boolean",
"description": "Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished\n"
},
"loggingBigqueries": {
"type": "array",
"items": {
Expand Down Expand Up @@ -8517,6 +8530,7 @@
"activeVersion",
"clonedVersion",
"domains",
"imported",
"name"
],
"inputProperties": {
Expand Down Expand Up @@ -8912,6 +8926,10 @@
"$ref": "#/types/fastly:index/ServiceVclHealthcheck:ServiceVclHealthcheck"
}
},
"imported": {
"type": "boolean",
"description": "Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished\n"
},
"loggingBigqueries": {
"type": "array",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ require (
)

replace (
github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20220927172125-16c367b030ff
github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20221004051910-3db3b6867fa8
github.com/hashicorp/go-getter v1.5.0 => github.com/hashicorp/go-getter v1.4.0
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20211230170131-3a7c83bfab87
)
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -729,8 +729,8 @@ github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Di
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20211230170131-3a7c83bfab87 h1:Reqyb/CbcDwThvBRzA62H7cvuCqgTJuGNt+F6mnmXJ4=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20211230170131-3a7c83bfab87/go.mod h1:FjM9DXWfP0w/AeOtJoSKHBZ01LqmaO6uP4bXhv3fekw=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20220927172125-16c367b030ff h1:VGbn8Nz9qOoT6xpT0vU2rpV3qsSjzz5aFIDm5nBkxik=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20220927172125-16c367b030ff/go.mod h1:V75Ab8l7JY8iGTqqH6zOXf2AeNq3mDnjKHNCCr3gxb0=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20221004051910-3db3b6867fa8 h1:a/C+mCdwXjzoUIsOnNh6EPKNlk7uZ0zX9brqFS7UfVY=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20221004051910-3db3b6867fa8/go.mod h1:V75Ab8l7JY8iGTqqH6zOXf2AeNq3mDnjKHNCCr3gxb0=
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
12 changes: 12 additions & 0 deletions sdk/dotnet/ServiceCompute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ public partial class ServiceCompute : Pulumi.CustomResource
[Output("forceDestroy")]
public Output<bool?> ForceDestroy { get; private set; } = null!;

/// <summary>
/// Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
/// </summary>
[Output("imported")]
public Output<bool> Imported { get; private set; } = null!;

[Output("loggingBigqueries")]
public Output<ImmutableArray<Outputs.ServiceComputeLoggingBigquery>> LoggingBigqueries { get; private set; } = null!;

Expand Down Expand Up @@ -564,6 +570,12 @@ public InputList<Inputs.ServiceComputeDomainGetArgs> Domains
[Input("forceDestroy")]
public Input<bool>? ForceDestroy { get; set; }

/// <summary>
/// Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
/// </summary>
[Input("imported")]
public Input<bool>? Imported { get; set; }

[Input("loggingBigqueries")]
private InputList<Inputs.ServiceComputeLoggingBigqueryGetArgs>? _loggingBigqueries;
public InputList<Inputs.ServiceComputeLoggingBigqueryGetArgs> LoggingBigqueries
Expand Down
12 changes: 12 additions & 0 deletions sdk/dotnet/ServiceVcl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ public partial class ServiceVcl : Pulumi.CustomResource
[Output("healthchecks")]
public Output<ImmutableArray<Outputs.ServiceVclHealthcheck>> Healthchecks { get; private set; } = null!;

/// <summary>
/// Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
/// </summary>
[Output("imported")]
public Output<bool> Imported { get; private set; } = null!;

[Output("loggingBigqueries")]
public Output<ImmutableArray<Outputs.ServiceVclLoggingBigquery>> LoggingBigqueries { get; private set; } = null!;

Expand Down Expand Up @@ -822,6 +828,12 @@ public InputList<Inputs.ServiceVclHealthcheckGetArgs> Healthchecks
set => _healthchecks = value;
}

/// <summary>
/// Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
/// </summary>
[Input("imported")]
public Input<bool>? Imported { get; set; }

[Input("loggingBigqueries")]
private InputList<Inputs.ServiceVclLoggingBigqueryGetArgs>? _loggingBigqueries;
public InputList<Inputs.ServiceVclLoggingBigqueryGetArgs> LoggingBigqueries
Expand Down
12 changes: 9 additions & 3 deletions sdk/go/fastly/serviceCompute.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 18 additions & 12 deletions sdk/go/fastly/serviceVcl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions sdk/java/src/main/java/com/pulumi/fastly/ServiceCompute.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,20 @@ public Output<List<ServiceComputeDomain>> domains() {
public Output<Optional<Boolean>> forceDestroy() {
return Codegen.optional(this.forceDestroy);
}
/**
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
@Export(name="imported", type=Boolean.class, parameters={})
private Output<Boolean> imported;

/**
* @return Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
public Output<Boolean> imported() {
return this.imported;
}
@Export(name="loggingBigqueries", type=List.class, parameters={ServiceComputeLoggingBigquery.class})
private Output</* @Nullable */ List<ServiceComputeLoggingBigquery>> loggingBigqueries;

Expand Down
14 changes: 14 additions & 0 deletions sdk/java/src/main/java/com/pulumi/fastly/ServiceVcl.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,20 @@ public Output<Optional<List<ServiceVclHeader>>> headers() {
public Output<Optional<List<ServiceVclHealthcheck>>> healthchecks() {
return Codegen.optional(this.healthchecks);
}
/**
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
@Export(name="imported", type=Boolean.class, parameters={})
private Output<Boolean> imported;

/**
* @return Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
public Output<Boolean> imported() {
return this.imported;
}
@Export(name="loggingBigqueries", type=List.class, parameters={ServiceVclLoggingBigquery.class})
private Output</* @Nullable */ List<ServiceVclLoggingBigquery>> loggingBigqueries;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ public Optional<Output<Boolean>> forceDestroy() {
return Optional.ofNullable(this.forceDestroy);
}

/**
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
@Import(name="imported")
private @Nullable Output<Boolean> imported;

/**
* @return Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
public Optional<Output<Boolean>> imported() {
return Optional.ofNullable(this.imported);
}

@Import(name="loggingBigqueries")
private @Nullable Output<List<ServiceComputeLoggingBigqueryArgs>> loggingBigqueries;

Expand Down Expand Up @@ -409,6 +424,7 @@ private ServiceComputeState(ServiceComputeState $) {
this.dictionaries = $.dictionaries;
this.domains = $.domains;
this.forceDestroy = $.forceDestroy;
this.imported = $.imported;
this.loggingBigqueries = $.loggingBigqueries;
this.loggingBlobstorages = $.loggingBlobstorages;
this.loggingCloudfiles = $.loggingCloudfiles;
Expand Down Expand Up @@ -621,6 +637,27 @@ public Builder forceDestroy(Boolean forceDestroy) {
return forceDestroy(Output.of(forceDestroy));
}

/**
* @param imported Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
* @return builder
*
*/
public Builder imported(@Nullable Output<Boolean> imported) {
$.imported = imported;
return this;
}

/**
* @param imported Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
* @return builder
*
*/
public Builder imported(Boolean imported) {
return imported(Output.of(imported));
}

public Builder loggingBigqueries(@Nullable Output<List<ServiceComputeLoggingBigqueryArgs>> loggingBigqueries) {
$.loggingBigqueries = loggingBigqueries;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,21 @@ public Optional<Output<List<ServiceVclHealthcheckArgs>>> healthchecks() {
return Optional.ofNullable(this.healthchecks);
}

/**
* Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
@Import(name="imported")
private @Nullable Output<Boolean> imported;

/**
* @return Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
*/
public Optional<Output<Boolean>> imported() {
return Optional.ofNullable(this.imported);
}

@Import(name="loggingBigqueries")
private @Nullable Output<List<ServiceVclLoggingBigqueryArgs>> loggingBigqueries;

Expand Down Expand Up @@ -567,6 +582,7 @@ private ServiceVclState(ServiceVclState $) {
this.gzips = $.gzips;
this.headers = $.headers;
this.healthchecks = $.healthchecks;
this.imported = $.imported;
this.loggingBigqueries = $.loggingBigqueries;
this.loggingBlobstorages = $.loggingBlobstorages;
this.loggingCloudfiles = $.loggingCloudfiles;
Expand Down Expand Up @@ -931,6 +947,27 @@ public Builder healthchecks(ServiceVclHealthcheckArgs... healthchecks) {
return healthchecks(List.of(healthchecks));
}

/**
* @param imported Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
* @return builder
*
*/
public Builder imported(@Nullable Output<Boolean> imported) {
$.imported = imported;
return this;
}

/**
* @param imported Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished
*
* @return builder
*
*/
public Builder imported(Boolean imported) {
return imported(Output.of(imported));
}

public Builder loggingBigqueries(@Nullable Output<List<ServiceVclLoggingBigqueryArgs>> loggingBigqueries) {
$.loggingBigqueries = loggingBigqueries;
return this;
Expand Down
Loading

0 comments on commit c78126b

Please sign in to comment.