question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

aws.neptune create encrypted cluster from snapshot does not work

See original GitHub issue

I am trying to create a new encrypted neptune cluster from an unencrypted cluster snapshot through pulumi using node js sdk neptune.Cluster but the created cluster is not encrypted.

Expected Behavior

Neptune cluster created should be encryption enabled

Current Behavior

Created cluster is not encryption enabled

Steps to Reproduce

  1. code snippet:
const cluster = new aws.neptune.Cluster('foo-cluster', {
    clusterIdentifier: 'foo-cluster',
    applyImmediately: true,
    backupRetentionPeriod: 2,
    deletionProtection: false,
    engine: "neptune",
    iamDatabaseAuthenticationEnabled: false,
    preferredBackupWindow: clusterInfo.backupWindow,
    preferredMaintenanceWindow: clusterInfo.maintenanceWindow,
    neptuneClusterParameterGroupName: clusterParameterGroup.name,
    neptuneSubnetGroupName: neptuneConfig["subnet"],
    vpcSecurityGroupIds: neptuneConfig["securitygroup"],
    snapshotIdentifier: snapshotArn,
    skipFinalSnapshot: false,
    finalSnapshotIdentifier: 'foo-cluster-final-snapshot',
    storageEncrypted: true,
    kmsKeyArn: key_arn
  });
  1. pulumi preview - shows storageEncrypted as true
  2. pulumi up - successfully created
  3. on verification in aws console the cluster shows Encryption as Not Enabled

Context (Environment)

Pulumi version : 2.10.0 This issue is stopping us from doing a production release. Let us know if there are any ways to resolve this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
ashokslcommented, Sep 21, 2020

I’m also facing the same issue. Let me know if there are any fixes are available

0reactions
stack72commented, Jun 15, 2022

hi all

I’m sorry we have not responded to this issue - this is something we are trying to get better about. As I pointed out above, this isn’t able to happen in the AWS SDK therefore, this is not something we are able to support in our provider 😕

I apologise for this

Paul

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sharing a DB Cluster Snapshot - Amazon Neptune
Sharing a manual DB cluster snapshot, whether encrypted or unencrypted, enables authorized AWS accounts to directly restore a DB cluster from the snapshot...
Read more >
Unable to create encrypted Neptune cluster from unencrypted ...
I am trying to create a new encrypted Neptune cluster from an unencrypted cluster snapshot through terraform but the created cluster is not...
Read more >
Restoring from a DB Cluster Snapshot ... - 亚马逊云科技
You can do this on the Neptune console, or using the CreateDBInstance API. No custom parameter group is restored. A new DB cluster...
Read more >
aws neptune create-db-cluster - Fig.io
If you do not provide a name, Amazon Neptune will not create a database in the DB ... If you create a Read...
Read more >
Neptune Database Encryption Enabled - Trend Micro
To enable data encryption for an existing Amazon Neptune database instance, you must re-create that instance with the necessary encryption ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found