Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove input properties on Cluster that are not implemented #821

Merged
merged 1 commit into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Unreleased
- [Remove input properties on Cluster that are not implemented #821](https://github.com/pulumi/pulumi-eks/pull/821)
- [Add support for non-default AWS partitions #788](https://github.com/pulumi/pulumi-eks/pull/788)
- [Add support for launchTemplateTagSpecifications within NodeGroupV2 #810](https://github.com/pulumi/pulumi-eks/pull/810)
- [Use pkg for packaging provider binary #776](https://github.com/pulumi/pulumi-eks/pull/776)
Expand Down
20 changes: 0 additions & 20 deletions provider/cmd/pulumi-gen-eks/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,26 +402,6 @@ func generateSchema() schema.PackageSpec {
TypeSpec: schema.TypeSpec{Type: "integer"},
Description: "The size in GiB of a cluster node's root volume. Defaults to 20.",
},
"nodeRootVolumeDeleteOnTermination": {
TypeSpec: schema.TypeSpec{Type: "boolean"},
Description: "Whether to delete a cluster node's root volume on termination. Defaults to true.",
},
"nodeRootVolumeEncrypted": {
TypeSpec: schema.TypeSpec{Type: "boolean"},
Description: "Whether to encrypt a cluster node's root volume. Defaults to false.",
},
"nodeRootVolumeIops": {
TypeSpec: schema.TypeSpec{Type: "integer"},
Description: "Provisioned IOPS for a cluster node's root volume. Only valid for io1 volumes.",
},
"nodeRootVolumeThroughput": {
TypeSpec: schema.TypeSpec{Type: "integer"},
Description: "Provisioned throughput performance in integer MiB/s for a cluster node's root volume. Only valid for gp3 volumes.",
},
"nodeRootVolumeType": {
TypeSpec: schema.TypeSpec{Type: "string"},
Description: "Configured EBS type for a cluster node's root volume. Default is gp2.",
},
"nodeUserData": {
TypeSpec: schema.TypeSpec{Type: "string"},
Description: "Extra code to run on node startup. This code will run after the AWS EKS " +
Expand Down
20 changes: 0 additions & 20 deletions provider/cmd/pulumi-resource-eks/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,30 +737,10 @@
"type": "string",
"description": "Public key material for SSH access to worker nodes. See allowed formats at:\nhttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html\nIf not provided, no SSH access is enabled on VMs."
},
"nodeRootVolumeDeleteOnTermination": {
"type": "boolean",
"description": "Whether to delete a cluster node's root volume on termination. Defaults to true."
},
"nodeRootVolumeEncrypted": {
"type": "boolean",
"description": "Whether to encrypt a cluster node's root volume. Defaults to false."
},
"nodeRootVolumeIops": {
"type": "integer",
"description": "Provisioned IOPS for a cluster node's root volume. Only valid for io1 volumes."
},
"nodeRootVolumeSize": {
"type": "integer",
"description": "The size in GiB of a cluster node's root volume. Defaults to 20."
},
"nodeRootVolumeThroughput": {
"type": "integer",
"description": "Provisioned throughput performance in integer MiB/s for a cluster node's root volume. Only valid for gp3 volumes."
},
"nodeRootVolumeType": {
"type": "string",
"description": "Configured EBS type for a cluster node's root volume. Default is gp2."
},
"nodeSecurityGroupTags": {
"type": "object",
"additionalProperties": {
Expand Down
30 changes: 0 additions & 30 deletions sdk/dotnet/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -348,42 +348,12 @@ public InputList<Pulumi.Aws.Iam.Role> InstanceRoles
[Input("nodePublicKey")]
public Input<string>? NodePublicKey { get; set; }

/// <summary>
/// Whether to delete a cluster node's root volume on termination. Defaults to true.
/// </summary>
[Input("nodeRootVolumeDeleteOnTermination")]
public Input<bool>? NodeRootVolumeDeleteOnTermination { get; set; }

/// <summary>
/// Whether to encrypt a cluster node's root volume. Defaults to false.
/// </summary>
[Input("nodeRootVolumeEncrypted")]
public Input<bool>? NodeRootVolumeEncrypted { get; set; }

/// <summary>
/// Provisioned IOPS for a cluster node's root volume. Only valid for io1 volumes.
/// </summary>
[Input("nodeRootVolumeIops")]
public Input<int>? NodeRootVolumeIops { get; set; }

/// <summary>
/// The size in GiB of a cluster node's root volume. Defaults to 20.
/// </summary>
[Input("nodeRootVolumeSize")]
public Input<int>? NodeRootVolumeSize { get; set; }

/// <summary>
/// Provisioned throughput performance in integer MiB/s for a cluster node's root volume. Only valid for gp3 volumes.
/// </summary>
[Input("nodeRootVolumeThroughput")]
public Input<int>? NodeRootVolumeThroughput { get; set; }

/// <summary>
/// Configured EBS type for a cluster node's root volume. Default is gp2.
/// </summary>
[Input("nodeRootVolumeType")]
public Input<string>? NodeRootVolumeType { get; set; }

[Input("nodeSecurityGroupTags")]
private InputMap<string>? _nodeSecurityGroupTags;

Expand Down
20 changes: 0 additions & 20 deletions sdk/go/eks/cluster.go

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

185 changes: 0 additions & 185 deletions sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -512,51 +512,6 @@ public Optional<Output<String>> nodePublicKey() {
return Optional.ofNullable(this.nodePublicKey);
}

/**
* Whether to delete a cluster node&#39;s root volume on termination. Defaults to true.
*
*/
@Import(name="nodeRootVolumeDeleteOnTermination")
private @Nullable Output<Boolean> nodeRootVolumeDeleteOnTermination;

/**
* @return Whether to delete a cluster node&#39;s root volume on termination. Defaults to true.
*
*/
public Optional<Output<Boolean>> nodeRootVolumeDeleteOnTermination() {
return Optional.ofNullable(this.nodeRootVolumeDeleteOnTermination);
}

/**
* Whether to encrypt a cluster node&#39;s root volume. Defaults to false.
*
*/
@Import(name="nodeRootVolumeEncrypted")
private @Nullable Output<Boolean> nodeRootVolumeEncrypted;

/**
* @return Whether to encrypt a cluster node&#39;s root volume. Defaults to false.
*
*/
public Optional<Output<Boolean>> nodeRootVolumeEncrypted() {
return Optional.ofNullable(this.nodeRootVolumeEncrypted);
}

/**
* Provisioned IOPS for a cluster node&#39;s root volume. Only valid for io1 volumes.
*
*/
@Import(name="nodeRootVolumeIops")
private @Nullable Output<Integer> nodeRootVolumeIops;

/**
* @return Provisioned IOPS for a cluster node&#39;s root volume. Only valid for io1 volumes.
*
*/
public Optional<Output<Integer>> nodeRootVolumeIops() {
return Optional.ofNullable(this.nodeRootVolumeIops);
}

/**
* The size in GiB of a cluster node&#39;s root volume. Defaults to 20.
*
Expand All @@ -572,36 +527,6 @@ public Optional<Output<Integer>> nodeRootVolumeSize() {
return Optional.ofNullable(this.nodeRootVolumeSize);
}

/**
* Provisioned throughput performance in integer MiB/s for a cluster node&#39;s root volume. Only valid for gp3 volumes.
*
*/
@Import(name="nodeRootVolumeThroughput")
private @Nullable Output<Integer> nodeRootVolumeThroughput;

/**
* @return Provisioned throughput performance in integer MiB/s for a cluster node&#39;s root volume. Only valid for gp3 volumes.
*
*/
public Optional<Output<Integer>> nodeRootVolumeThroughput() {
return Optional.ofNullable(this.nodeRootVolumeThroughput);
}

/**
* Configured EBS type for a cluster node&#39;s root volume. Default is gp2.
*
*/
@Import(name="nodeRootVolumeType")
private @Nullable Output<String> nodeRootVolumeType;

/**
* @return Configured EBS type for a cluster node&#39;s root volume. Default is gp2.
*
*/
public Optional<Output<String>> nodeRootVolumeType() {
return Optional.ofNullable(this.nodeRootVolumeType);
}

/**
* The tags to apply to the default `nodeSecurityGroup` created by the cluster.
*
Expand Down Expand Up @@ -1044,12 +969,7 @@ private ClusterArgs(ClusterArgs $) {
this.nodeAssociatePublicIpAddress = $.nodeAssociatePublicIpAddress;
this.nodeGroupOptions = $.nodeGroupOptions;
this.nodePublicKey = $.nodePublicKey;
this.nodeRootVolumeDeleteOnTermination = $.nodeRootVolumeDeleteOnTermination;
this.nodeRootVolumeEncrypted = $.nodeRootVolumeEncrypted;
this.nodeRootVolumeIops = $.nodeRootVolumeIops;
this.nodeRootVolumeSize = $.nodeRootVolumeSize;
this.nodeRootVolumeThroughput = $.nodeRootVolumeThroughput;
this.nodeRootVolumeType = $.nodeRootVolumeType;
this.nodeSecurityGroupTags = $.nodeSecurityGroupTags;
this.nodeSubnetIds = $.nodeSubnetIds;
this.nodeUserData = $.nodeUserData;
Expand Down Expand Up @@ -1779,69 +1699,6 @@ public Builder nodePublicKey(String nodePublicKey) {
return nodePublicKey(Output.of(nodePublicKey));
}

/**
* @param nodeRootVolumeDeleteOnTermination Whether to delete a cluster node&#39;s root volume on termination. Defaults to true.
*
* @return builder
*
*/
public Builder nodeRootVolumeDeleteOnTermination(@Nullable Output<Boolean> nodeRootVolumeDeleteOnTermination) {
$.nodeRootVolumeDeleteOnTermination = nodeRootVolumeDeleteOnTermination;
return this;
}

/**
* @param nodeRootVolumeDeleteOnTermination Whether to delete a cluster node&#39;s root volume on termination. Defaults to true.
*
* @return builder
*
*/
public Builder nodeRootVolumeDeleteOnTermination(Boolean nodeRootVolumeDeleteOnTermination) {
return nodeRootVolumeDeleteOnTermination(Output.of(nodeRootVolumeDeleteOnTermination));
}

/**
* @param nodeRootVolumeEncrypted Whether to encrypt a cluster node&#39;s root volume. Defaults to false.
*
* @return builder
*
*/
public Builder nodeRootVolumeEncrypted(@Nullable Output<Boolean> nodeRootVolumeEncrypted) {
$.nodeRootVolumeEncrypted = nodeRootVolumeEncrypted;
return this;
}

/**
* @param nodeRootVolumeEncrypted Whether to encrypt a cluster node&#39;s root volume. Defaults to false.
*
* @return builder
*
*/
public Builder nodeRootVolumeEncrypted(Boolean nodeRootVolumeEncrypted) {
return nodeRootVolumeEncrypted(Output.of(nodeRootVolumeEncrypted));
}

/**
* @param nodeRootVolumeIops Provisioned IOPS for a cluster node&#39;s root volume. Only valid for io1 volumes.
*
* @return builder
*
*/
public Builder nodeRootVolumeIops(@Nullable Output<Integer> nodeRootVolumeIops) {
$.nodeRootVolumeIops = nodeRootVolumeIops;
return this;
}

/**
* @param nodeRootVolumeIops Provisioned IOPS for a cluster node&#39;s root volume. Only valid for io1 volumes.
*
* @return builder
*
*/
public Builder nodeRootVolumeIops(Integer nodeRootVolumeIops) {
return nodeRootVolumeIops(Output.of(nodeRootVolumeIops));
}

/**
* @param nodeRootVolumeSize The size in GiB of a cluster node&#39;s root volume. Defaults to 20.
*
Expand All @@ -1863,48 +1720,6 @@ public Builder nodeRootVolumeSize(Integer nodeRootVolumeSize) {
return nodeRootVolumeSize(Output.of(nodeRootVolumeSize));
}

/**
* @param nodeRootVolumeThroughput Provisioned throughput performance in integer MiB/s for a cluster node&#39;s root volume. Only valid for gp3 volumes.
*
* @return builder
*
*/
public Builder nodeRootVolumeThroughput(@Nullable Output<Integer> nodeRootVolumeThroughput) {
$.nodeRootVolumeThroughput = nodeRootVolumeThroughput;
return this;
}

/**
* @param nodeRootVolumeThroughput Provisioned throughput performance in integer MiB/s for a cluster node&#39;s root volume. Only valid for gp3 volumes.
*
* @return builder
*
*/
public Builder nodeRootVolumeThroughput(Integer nodeRootVolumeThroughput) {
return nodeRootVolumeThroughput(Output.of(nodeRootVolumeThroughput));
}

/**
* @param nodeRootVolumeType Configured EBS type for a cluster node&#39;s root volume. Default is gp2.
*
* @return builder
*
*/
public Builder nodeRootVolumeType(@Nullable Output<String> nodeRootVolumeType) {
$.nodeRootVolumeType = nodeRootVolumeType;
return this;
}

/**
* @param nodeRootVolumeType Configured EBS type for a cluster node&#39;s root volume. Default is gp2.
*
* @return builder
*
*/
public Builder nodeRootVolumeType(String nodeRootVolumeType) {
return nodeRootVolumeType(Output.of(nodeRootVolumeType));
}

/**
* @param nodeSecurityGroupTags The tags to apply to the default `nodeSecurityGroup` created by the cluster.
*
Expand Down
Loading