Skip to content

Commit

Permalink
fix: correct spelling for encryptRootBlockDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
metral committed Nov 2, 2020
1 parent 7a08c92 commit 86783d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nodejs/eks/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export function createCore(name: string, args: ClusterOptions, parent: pulumi.Co
nodeAssociatePublicIpAddress: args.nodeAssociatePublicIpAddress,
instanceType: args.instanceType,
nodePublicKey: args.nodePublicKey,
encryptRootBockDevice: args.encryptRootBockDevice,
encryptRootBlockDevice: args.encryptRootBlockDevice,
nodeRootVolumeSize: args.nodeRootVolumeSize,
nodeUserData: args.nodeUserData,
minSize: args.minSize,
Expand Down Expand Up @@ -1004,7 +1004,7 @@ export interface ClusterOptions {
/**
* Encrypt the root block device of the nodes in the node group.
*/
encryptRootBockDevice?: pulumi.Input<boolean>;
encryptRootBlockDevice?: pulumi.Input<boolean>;

/**
* The tags to apply to the default `nodeSecurityGroup` created by the cluster.
Expand Down
4 changes: 2 additions & 2 deletions nodejs/eks/nodegroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface NodeGroupBaseOptions {
/**
* Encrypt the root block device of the nodes in the node group.
*/
encryptRootBockDevice?: pulumi.Input<boolean>;
encryptRootBlockDevice?: pulumi.Input<boolean>;

/**
* Public key material for SSH access to worker nodes. See allowed formats at:
Expand Down Expand Up @@ -486,7 +486,7 @@ ${customUserData}
securityGroups: [nodeSecurityGroupId, ...extraNodeSecurityGroupIds],
spotPrice: args.spotPrice,
rootBlockDevice: {
encrypted: args.encryptRootBockDevice,
encrypted: args.encryptRootBlockDevice,
volumeSize: args.nodeRootVolumeSize || 20, // GiB
volumeType: "gp2", // default is "standard"
deleteOnTermination: true,
Expand Down

0 comments on commit 86783d2

Please sign in to comment.