Skip to content

Commit

Permalink
chore: upgrade provider from 2.25.2 to version 2.26.0 (#348)
Browse files Browse the repository at this point in the history
This PR upgrades provider to version 2.26.0
  • Loading branch information
team-tf-cdk authored Feb 1, 2023
1 parent f8e92cf commit ef46629
Show file tree
Hide file tree
Showing 83 changed files with 4,552 additions and 77 deletions.
3,611 changes: 3,611 additions & 0 deletions API.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json

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

2 changes: 1 addition & 1 deletion src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11293,7 +11293,7 @@ export class App extends cdktf.TerraformResource {
terraformResourceType: 'digitalocean_app',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/cdn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class Cdn extends cdktf.TerraformResource {
terraformResourceType: 'digitalocean_cdn',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/certificate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Certificate extends cdktf.TerraformResource {
terraformResourceType: 'digitalocean_certificate',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/container-registry-docker-credentials/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ContainerRegistryDockerCredentials extends cdktf.TerraformResource
terraformResourceType: 'digitalocean_container_registry_docker_credentials',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/container-registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ContainerRegistry extends cdktf.TerraformResource {
terraformResourceType: 'digitalocean_container_registry',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/custom-image/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class CustomImage extends cdktf.TerraformResource {
terraformResourceType: 'digitalocean_custom_image',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-account/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class DataDigitaloceanAccount extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_account',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5375,7 +5375,7 @@ export class DataDigitaloceanApp extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_app',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-certificate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataDigitaloceanCertificate extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_certificate',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-container-registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataDigitaloceanContainerRegistry extends cdktf.TerraformDataSource
terraformResourceType: 'digitalocean_container_registry',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-database-ca/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDigitaloceanDatabaseCa extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_database_ca',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-database-cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class DataDigitaloceanDatabaseCluster extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_database_cluster',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-database-replica/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class DataDigitaloceanDatabaseReplica extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_database_replica',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-domain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataDigitaloceanDomain extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_domain',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-domains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class DataDigitaloceanDomains extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_domains',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-droplet-snapshot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class DataDigitaloceanDropletSnapshot extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_droplet_snapshot',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-droplet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class DataDigitaloceanDroplet extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_droplet',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-droplets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export class DataDigitaloceanDroplets extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_droplets',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-firewall/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export class DataDigitaloceanFirewall extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_firewall',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-floating-ip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataDigitaloceanFloatingIp extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_floating_ip',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-image/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class DataDigitaloceanImage extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_image',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-images/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export class DataDigitaloceanImages extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_images',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-kubernetes-cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export class DataDigitaloceanKubernetesCluster extends cdktf.TerraformDataSource
terraformResourceType: 'digitalocean_kubernetes_cluster',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-kubernetes-versions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDigitaloceanKubernetesVersions extends cdktf.TerraformDataSourc
terraformResourceType: 'digitalocean_kubernetes_versions',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
77 changes: 76 additions & 1 deletion src/data-digitalocean-loadbalancer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,75 @@ export interface DataDigitaloceanLoadbalancerConfig extends cdktf.TerraformMetaA
*/
readonly name?: string;
}
export interface DataDigitaloceanLoadbalancerFirewall {
}

export function dataDigitaloceanLoadbalancerFirewallToTerraform(struct?: DataDigitaloceanLoadbalancerFirewall): any {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; }
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
}
}

export class DataDigitaloceanLoadbalancerFirewallOutputReference extends cdktf.ComplexObject {
private isEmptyObject = false;

/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
public constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
}

public get internalValue(): DataDigitaloceanLoadbalancerFirewall | undefined {
let hasAnyValues = this.isEmptyObject;
const internalValueResult: any = {};
return hasAnyValues ? internalValueResult : undefined;
}

public set internalValue(value: DataDigitaloceanLoadbalancerFirewall | undefined) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}

// allow - computed: true, optional: false, required: false
public get allow() {
return cdktf.Fn.tolist(this.getListAttribute('allow'));
}

// deny - computed: true, optional: false, required: false
public get deny() {
return cdktf.Fn.tolist(this.getListAttribute('deny'));
}
}

export class DataDigitaloceanLoadbalancerFirewallList extends cdktf.ComplexList {

/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(protected terraformResource: cdktf.IInterpolatingParent, protected terraformAttribute: string, protected wrapsSet: boolean) {
super(terraformResource, terraformAttribute, wrapsSet)
}

/**
* @param index the index of the item to return
*/
public get(index: number): DataDigitaloceanLoadbalancerFirewallOutputReference {
return new DataDigitaloceanLoadbalancerFirewallOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
export interface DataDigitaloceanLoadbalancerForwardingRule {
}

Expand Down Expand Up @@ -312,7 +381,7 @@ export class DataDigitaloceanLoadbalancer extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_loadbalancer',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down Expand Up @@ -361,6 +430,12 @@ export class DataDigitaloceanLoadbalancer extends cdktf.TerraformDataSource {
return this.getBooleanAttribute('enable_proxy_protocol');
}

// firewall - computed: true, optional: false, required: false
private _firewall = new DataDigitaloceanLoadbalancerFirewallList(this, "firewall", false);
public get firewall() {
return this._firewall;
}

// forwarding_rule - computed: true, optional: false, required: false
private _forwardingRule = new DataDigitaloceanLoadbalancerForwardingRuleList(this, "forwarding_rule", true);
public get forwardingRule() {
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDigitaloceanProject extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_project',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-projects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ export class DataDigitaloceanProjects extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_projects',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-record/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class DataDigitaloceanRecord extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_record',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-records/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export class DataDigitaloceanRecords extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_records',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-region/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DataDigitaloceanRegion extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_region',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-regions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export class DataDigitaloceanRegions extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_regions',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-reserved-ip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DataDigitaloceanReservedIp extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_reserved_ip',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/data-digitalocean-sizes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export class DataDigitaloceanSizes extends cdktf.TerraformDataSource {
terraformResourceType: 'digitalocean_sizes',
terraformGeneratorMetadata: {
providerName: 'digitalocean',
providerVersion: '2.25.2',
providerVersion: '2.26.0',
providerVersionConstraint: '~> 2.19'
},
provider: config.provider,
Expand Down
Loading

0 comments on commit ef46629

Please sign in to comment.