aws-cloudformation / aws-cloudformation-templates

A collection of useful CloudFormation templates
Apache License 2.0
4.65k stars 4.24k forks source link

Adding the IAM Role to an Amazon Neptune Cluster. #153

Closed niroshanaj closed 5 months ago

niroshanaj commented 5 years ago

Hi, please provide an example cloud-formation template to add IAM Role to an Amazon Neptune Cluster. Manual steps are described here: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-IAM.html

I would like to have this on my cloud-formation template

Thanks

cmmeyer commented 5 years ago

Great request. I've labeled it as an enhancement in need of an author. Thanks!

beebs-systap commented 5 years ago

@niroshanaj You can use the Lambda client to do this currently. Here is an example.

cmmeyer commented 5 years ago

Wow! I whole pile of awesome in there, @beebs-systap! Does that get you what you need, @niroshanaj?

As a follow-on, we're working on a new repo that will try to aggregate links to all of these great little pockets of CloudFormation goodness. I'll make sure to put a pointer from here when it goes up.

abdusahin commented 5 years ago

I need feature too, looks like it's not supported by CF yet. Is there any ETA for this feature ?

tblake84 commented 4 years ago

How is this not supported yet? This is a key feature of neptune and is still a manual console action for end users after deploying a cloudformation template.

harti2006 commented 4 years ago

Any news on this topic?

namedgraph commented 4 years ago

@beebs-systap can you please provide an update? This was reported almost 1.5 years ago.

beebs-systap commented 4 years ago

@namedgraph Thanks for bumping. The CFN support is there now. I'll update this thread once we have an update.

provCristianMaluenda commented 4 years ago

@beebs-systap Which is the new function/feature that allows us to assign a role to Neptune? I am not a CF expert, and I am facing the same issue now. I would like to avoid to use Lambda. Thanks!

beebs-systap commented 4 years ago

@provcristianmaluenda We need to push some updates on the Neptune-side to make it available. I'll update this issue.

namedgraph commented 4 years ago

@beebs-systap any ETA for the release?

peterwmwong commented 4 years ago

Any update/ETA when this will be released?

beebs-systap commented 4 years ago

The AssociatedRoles property is now supported. The documentation is rolling out over the next week.


DBCluster:
--
  | Type: "AWS::Neptune::DBCluster"
[snip]
  | AssociatedRoles :
  | - "arn:aws:iam::account-number:role/iam-role-name"

Properties AssociatedRoles Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.

Required: No Type: List of DBClusterRole Update requires: No interruption

namedgraph commented 4 years ago

@beebs-systap great news. Is this now in the CDK as well?

Roshin29 commented 3 years ago

The AssociatedRoles property is now supported. The documentation is rolling out over the next week.


DBCluster:
--
  | Type: "AWS::Neptune::DBCluster"
[snip]
  | AssociatedRoles :
  | - "arn:aws:iam::account-number:role/iam-role-name"

Properties AssociatedRoles Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.

Required: No Type: List of DBClusterRole Update requires: No interruption

Hi...Added Associated role in cloudformation but didnt work? can u give detail samples

ericzbeard commented 5 months ago

Cleaning up stale issues in preparation for refreshing this repository. Please re-open if this still needs to be addressed.