Skip to content

Commit

Permalink
Merge pull request #60 from pulumi/stack72/v0.20.3
Browse files Browse the repository at this point in the history
Upgrade to v0.20.3 of the Fastly Terraform Provider
  • Loading branch information
stack72 authored Sep 24, 2020
2 parents 3b069f3 + 465cb0d commit b2a930b
Show file tree
Hide file tree
Showing 15 changed files with 158 additions and 160 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CHANGELOG
=========

## HEAD (Unreleased)
* Upgrade to v0.20.2 of the Fastly Terraform Provider
* Upgrade to v0.20.3 of the Fastly Terraform Provider
* Upgrade to pulumi-terraform-bridge v2.8.0
* Upgrade to Pulumi v2.10.0

Expand Down
4 changes: 4 additions & 0 deletions provider/cmd/pulumi-resource-fastly/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,10 @@
"type": "object",
"required": [
"dataset",
"email",
"name",
"projectId",
"secretKey",
"table"
]
},
Expand Down Expand Up @@ -2787,8 +2789,10 @@
"type": "object",
"required": [
"dataset",
"email",
"name",
"projectId",
"secretKey",
"table"
]
},
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ require (

replace (
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible
github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677
github.com/fastly/terraform-provider-fastly => github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e
)
2 changes: 2 additions & 0 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200722200456-eec8223c0d2
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200722200456-eec8223c0d29/go.mod h1:7GcoJbLHPr3908ptQflj34YsMmz0YqyByryMr/RK6GE=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677 h1:rSPhJKXvhJBpghK/c38HoR+e7KO7P9mlmk1VJ6sHNAw=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200922105020-5dc58b7cb677/go.mod h1:WFquAmxJ0qakdrv6TJu/q/kxlJvf90KWtrU++Ou8PRw=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e h1:3QVksQ3+IrWwm6KbiR0X/r1mnKpwWs56+g3sMZv85Lo=
github.com/pulumi/terraform-provider-fastly v0.16.1-0.20200924102347-0d0b8a5c918e/go.mod h1:WFquAmxJ0qakdrv6TJu/q/kxlJvf90KWtrU++Ou8PRw=
github.com/pulumi/tf2pulumi v0.8.1-0.20200519092335-cb56a4dfa88d h1:1JtzB9Gx0YX2UgKKkqJwTgBXxfg2cbLUEqTJKwKBK7s=
github.com/pulumi/tf2pulumi v0.8.1-0.20200519092335-cb56a4dfa88d/go.mod h1:yv9XozKsue9ZELHQbrBGgIaFtE3OX3Q4m7koTzTqgpE=
github.com/pulumi/tf2pulumi v0.8.1-0.20200528170746-c1234defe2b5 h1:h+pUwgEser1Ole6TMCc66njRPcw7SEVXpeoClG+ihEM=
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/ServiceComputeBigqueryloggingArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public sealed class ServiceComputeBigqueryloggingArgs : Pulumi.ResourceArgs
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
[Input("email")]
public Input<string>? Email { get; set; }
[Input("email", required: true)]
public Input<string> Email { get; set; } = null!;

/// <summary>
/// The unique name of the Rackspace Cloud Files logging endpoint.
Expand All @@ -39,8 +39,8 @@ public sealed class ServiceComputeBigqueryloggingArgs : Pulumi.ResourceArgs
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
[Input("secretKey")]
public Input<string>? SecretKey { get; set; }
[Input("secretKey", required: true)]
public Input<string> SecretKey { get; set; } = null!;

/// <summary>
/// The ID of your BigQuery table.
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/ServiceComputeBigqueryloggingGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public sealed class ServiceComputeBigqueryloggingGetArgs : Pulumi.ResourceArgs
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
[Input("email")]
public Input<string>? Email { get; set; }
[Input("email", required: true)]
public Input<string> Email { get; set; } = null!;

/// <summary>
/// The unique name of the Rackspace Cloud Files logging endpoint.
Expand All @@ -39,8 +39,8 @@ public sealed class ServiceComputeBigqueryloggingGetArgs : Pulumi.ResourceArgs
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
[Input("secretKey")]
public Input<string>? SecretKey { get; set; }
[Input("secretKey", required: true)]
public Input<string> SecretKey { get; set; } = null!;

/// <summary>
/// The ID of your BigQuery table.
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/Servicev1BigqueryloggingArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public sealed class Servicev1BigqueryloggingArgs : Pulumi.ResourceArgs
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
[Input("email")]
public Input<string>? Email { get; set; }
[Input("email", required: true)]
public Input<string> Email { get; set; } = null!;

/// <summary>
/// Apache style log formatting.
Expand Down Expand Up @@ -57,8 +57,8 @@ public sealed class Servicev1BigqueryloggingArgs : Pulumi.ResourceArgs
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
[Input("secretKey")]
public Input<string>? SecretKey { get; set; }
[Input("secretKey", required: true)]
public Input<string> SecretKey { get; set; } = null!;

/// <summary>
/// The ID of your BigQuery table.
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Inputs/Servicev1BigqueryloggingGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public sealed class Servicev1BigqueryloggingGetArgs : Pulumi.ResourceArgs
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
[Input("email")]
public Input<string>? Email { get; set; }
[Input("email", required: true)]
public Input<string> Email { get; set; } = null!;

/// <summary>
/// Apache style log formatting.
Expand Down Expand Up @@ -57,8 +57,8 @@ public sealed class Servicev1BigqueryloggingGetArgs : Pulumi.ResourceArgs
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
[Input("secretKey")]
public Input<string>? SecretKey { get; set; }
[Input("secretKey", required: true)]
public Input<string> SecretKey { get; set; } = null!;

/// <summary>
/// The ID of your BigQuery table.
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Outputs/ServiceComputeBigquerylogging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class ServiceComputeBigquerylogging
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
public readonly string? Email;
public readonly string Email;
/// <summary>
/// The unique name of the Rackspace Cloud Files logging endpoint.
/// </summary>
Expand All @@ -32,7 +32,7 @@ public sealed class ServiceComputeBigquerylogging
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
public readonly string? SecretKey;
public readonly string SecretKey;
/// <summary>
/// The ID of your BigQuery table.
/// </summary>
Expand All @@ -43,13 +43,13 @@ public sealed class ServiceComputeBigquerylogging
private ServiceComputeBigquerylogging(
string dataset,

string? email,
string email,

string name,

string projectId,

string? secretKey,
string secretKey,

string table,

Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Outputs/Servicev1Bigquerylogging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class Servicev1Bigquerylogging
/// <summary>
/// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
/// </summary>
public readonly string? Email;
public readonly string Email;
/// <summary>
/// Apache style log formatting.
/// </summary>
Expand All @@ -44,7 +44,7 @@ public sealed class Servicev1Bigquerylogging
/// <summary>
/// Your DigitalOcean Spaces account secret key.
/// </summary>
public readonly string? SecretKey;
public readonly string SecretKey;
/// <summary>
/// The ID of your BigQuery table.
/// </summary>
Expand All @@ -58,7 +58,7 @@ public sealed class Servicev1Bigquerylogging
private Servicev1Bigquerylogging(
string dataset,

string? email,
string email,

string? format,

Expand All @@ -70,7 +70,7 @@ private Servicev1Bigquerylogging(

string? responseCondition,

string? secretKey,
string secretKey,

string table,

Expand Down
32 changes: 16 additions & 16 deletions sdk/go/fastly/pulumiTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,13 +466,13 @@ type ServiceComputeBigquerylogging struct {
// The Honeycomb Dataset you want to log to.
Dataset string `pulumi:"dataset"`
// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
Email *string `pulumi:"email"`
Email string `pulumi:"email"`
// The unique name of the Rackspace Cloud Files logging endpoint.
Name string `pulumi:"name"`
// The ID of your Google Cloud Platform project.
ProjectId string `pulumi:"projectId"`
// Your DigitalOcean Spaces account secret key.
SecretKey *string `pulumi:"secretKey"`
SecretKey string `pulumi:"secretKey"`
// The ID of your BigQuery table.
Table string `pulumi:"table"`
Template *string `pulumi:"template"`
Expand All @@ -493,13 +493,13 @@ type ServiceComputeBigqueryloggingArgs struct {
// The Honeycomb Dataset you want to log to.
Dataset pulumi.StringInput `pulumi:"dataset"`
// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
Email pulumi.StringPtrInput `pulumi:"email"`
Email pulumi.StringInput `pulumi:"email"`
// The unique name of the Rackspace Cloud Files logging endpoint.
Name pulumi.StringInput `pulumi:"name"`
// The ID of your Google Cloud Platform project.
ProjectId pulumi.StringInput `pulumi:"projectId"`
// Your DigitalOcean Spaces account secret key.
SecretKey pulumi.StringPtrInput `pulumi:"secretKey"`
SecretKey pulumi.StringInput `pulumi:"secretKey"`
// The ID of your BigQuery table.
Table pulumi.StringInput `pulumi:"table"`
Template pulumi.StringPtrInput `pulumi:"template"`
Expand Down Expand Up @@ -562,8 +562,8 @@ func (o ServiceComputeBigqueryloggingOutput) Dataset() pulumi.StringOutput {
}

// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
func (o ServiceComputeBigqueryloggingOutput) Email() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceComputeBigquerylogging) *string { return v.Email }).(pulumi.StringPtrOutput)
func (o ServiceComputeBigqueryloggingOutput) Email() pulumi.StringOutput {
return o.ApplyT(func(v ServiceComputeBigquerylogging) string { return v.Email }).(pulumi.StringOutput)
}

// The unique name of the Rackspace Cloud Files logging endpoint.
Expand All @@ -577,8 +577,8 @@ func (o ServiceComputeBigqueryloggingOutput) ProjectId() pulumi.StringOutput {
}

// Your DigitalOcean Spaces account secret key.
func (o ServiceComputeBigqueryloggingOutput) SecretKey() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceComputeBigquerylogging) *string { return v.SecretKey }).(pulumi.StringPtrOutput)
func (o ServiceComputeBigqueryloggingOutput) SecretKey() pulumi.StringOutput {
return o.ApplyT(func(v ServiceComputeBigquerylogging) string { return v.SecretKey }).(pulumi.StringOutput)
}

// The ID of your BigQuery table.
Expand Down Expand Up @@ -5304,7 +5304,7 @@ type Servicev1Bigquerylogging struct {
// The Honeycomb Dataset you want to log to.
Dataset string `pulumi:"dataset"`
// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
Email *string `pulumi:"email"`
Email string `pulumi:"email"`
// Apache style log formatting.
Format *string `pulumi:"format"`
// A unique name to identify this dictionary.
Expand All @@ -5316,7 +5316,7 @@ type Servicev1Bigquerylogging struct {
// The name of an existing condition in the configured endpoint, or leave blank to always execute.
ResponseCondition *string `pulumi:"responseCondition"`
// Your DigitalOcean Spaces account secret key.
SecretKey *string `pulumi:"secretKey"`
SecretKey string `pulumi:"secretKey"`
// The ID of your BigQuery table.
Table string `pulumi:"table"`
// Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables).
Expand All @@ -5338,7 +5338,7 @@ type Servicev1BigqueryloggingArgs struct {
// The Honeycomb Dataset you want to log to.
Dataset pulumi.StringInput `pulumi:"dataset"`
// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
Email pulumi.StringPtrInput `pulumi:"email"`
Email pulumi.StringInput `pulumi:"email"`
// Apache style log formatting.
Format pulumi.StringPtrInput `pulumi:"format"`
// A unique name to identify this dictionary.
Expand All @@ -5350,7 +5350,7 @@ type Servicev1BigqueryloggingArgs struct {
// The name of an existing condition in the configured endpoint, or leave blank to always execute.
ResponseCondition pulumi.StringPtrInput `pulumi:"responseCondition"`
// Your DigitalOcean Spaces account secret key.
SecretKey pulumi.StringPtrInput `pulumi:"secretKey"`
SecretKey pulumi.StringInput `pulumi:"secretKey"`
// The ID of your BigQuery table.
Table pulumi.StringInput `pulumi:"table"`
// Big query table name suffix template. If set will be interpreted as a strftime compatible string and used as the [Template Suffix for your table](https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables).
Expand Down Expand Up @@ -5414,8 +5414,8 @@ func (o Servicev1BigqueryloggingOutput) Dataset() pulumi.StringOutput {
}

// The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
func (o Servicev1BigqueryloggingOutput) Email() pulumi.StringPtrOutput {
return o.ApplyT(func(v Servicev1Bigquerylogging) *string { return v.Email }).(pulumi.StringPtrOutput)
func (o Servicev1BigqueryloggingOutput) Email() pulumi.StringOutput {
return o.ApplyT(func(v Servicev1Bigquerylogging) string { return v.Email }).(pulumi.StringOutput)
}

// Apache style log formatting.
Expand Down Expand Up @@ -5444,8 +5444,8 @@ func (o Servicev1BigqueryloggingOutput) ResponseCondition() pulumi.StringPtrOutp
}

// Your DigitalOcean Spaces account secret key.
func (o Servicev1BigqueryloggingOutput) SecretKey() pulumi.StringPtrOutput {
return o.ApplyT(func(v Servicev1Bigquerylogging) *string { return v.SecretKey }).(pulumi.StringPtrOutput)
func (o Servicev1BigqueryloggingOutput) SecretKey() pulumi.StringOutput {
return o.ApplyT(func(v Servicev1Bigquerylogging) string { return v.SecretKey }).(pulumi.StringOutput)
}

// The ID of your BigQuery table.
Expand Down
8 changes: 4 additions & 4 deletions sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export interface ServiceComputeBigquerylogging {
/**
* The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
*/
email?: pulumi.Input<string>;
email: pulumi.Input<string>;
/**
* The unique name of the Rackspace Cloud Files logging endpoint.
*/
Expand All @@ -150,7 +150,7 @@ export interface ServiceComputeBigquerylogging {
/**
* Your DigitalOcean Spaces account secret key.
*/
secretKey?: pulumi.Input<string>;
secretKey: pulumi.Input<string>;
/**
* The ID of your BigQuery table.
*/
Expand Down Expand Up @@ -1139,7 +1139,7 @@ export interface Servicev1Bigquerylogging {
/**
* The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
*/
email?: pulumi.Input<string>;
email: pulumi.Input<string>;
/**
* Apache style log formatting.
*/
Expand All @@ -1163,7 +1163,7 @@ export interface Servicev1Bigquerylogging {
/**
* Your DigitalOcean Spaces account secret key.
*/
secretKey?: pulumi.Input<string>;
secretKey: pulumi.Input<string>;
/**
* The ID of your BigQuery table.
*/
Expand Down
8 changes: 4 additions & 4 deletions sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export interface ServiceComputeBigquerylogging {
/**
* The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
*/
email?: string;
email: string;
/**
* The unique name of the Rackspace Cloud Files logging endpoint.
*/
Expand All @@ -165,7 +165,7 @@ export interface ServiceComputeBigquerylogging {
/**
* Your DigitalOcean Spaces account secret key.
*/
secretKey?: string;
secretKey: string;
/**
* The ID of your BigQuery table.
*/
Expand Down Expand Up @@ -1154,7 +1154,7 @@ export interface Servicev1Bigquerylogging {
/**
* The email for the service account with write access to your BigQuery dataset. If not provided, this will be pulled from a `FASTLY_BQ_EMAIL` environment variable.
*/
email?: string;
email: string;
/**
* Apache style log formatting.
*/
Expand All @@ -1178,7 +1178,7 @@ export interface Servicev1Bigquerylogging {
/**
* Your DigitalOcean Spaces account secret key.
*/
secretKey?: string;
secretKey: string;
/**
* The ID of your BigQuery table.
*/
Expand Down
Loading

0 comments on commit b2a930b

Please sign in to comment.