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

add a default topic arn to the global config file #240

Open
p5k6 opened this issue Apr 27, 2016 · 3 comments
Open

add a default topic arn to the global config file #240

p5k6 opened this issue Apr 27, 2016 · 3 comments

Comments

@p5k6
Copy link
Contributor

p5k6 commented Apr 27, 2016

Currently there is no way to specify a default ARN in the config file (current documentation for creating an etl is incorrect in that regard).

Rather than update the existing documentation, I propose adding DEFAULT_TOPIC_ARN to the global config, which can be overridden in the etl pipeline itself. At least in our case, the same topic_arn is shared within the same mode.

I will add a PR to add this functionality.

@zerowgravity
Copy link

I'm having issues with IAM role permissions and the ability to setup SNS. Here is my stacktrace - raise ETLInputError('Pipeline has errors %s' % self.errors) dataduct.utils.exceptions.ETLInputError: Pipeline has errors [{u'errors': [u"Invalid role 'EMR_DefaultRole' in slot 'role'. Please make sure that the role exist and Data Pipeline has permission to assume the role."], u'id': u'[email protected]'}, {u'errors': [u"Invalid role 'EMR_DefaultRole' in slot 'role'. Please make sure that the role exist and Data Pipeline has permission to assume the role."], u'id': u'[email protected]'}] Any help would be appreciated.

@p5k6
Copy link
Contributor Author

p5k6 commented May 18, 2016

I think you need to go to IAM in AWS, assign the user that's configured for dataduct to a policy which has EMR_DefaultRole, such as AmazonElasticMapReduceRole. This can be done under the permissions tab for the specified user in IAM

@zerowgravity
Copy link

Thanks, I fixed it by adding a Default policy for the Amazon EC2 Role for Data Pipeline service role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants