amazon web services - Exporting AWS RDS tables or database to S3 bucket -
how can export rds tables s3 bucket? tried using data pipeline service export rds tables s3 getting following error. displaying policy below.
warning: not validate s3 access role. please ensure role ('datapipelinedefaultrole') has s3:get*, s3:list*, s3:put* , sts:assumerole permissions datapipeline.
here datapipelinedefaultrole:
{ "version": "2012-10-17", "statement": [{ "effect": "allow", "action": [ "cloudwatch:*", "datapipeline:describeobjects", "datapipeline:evaluateexpression", "dynamodb:batchgetitem", "dynamodb:describetable", "dynamodb:getitem", "dynamodb:query", "dynamodb:scan", "dynamodb:updatetable", "ec2:authorizesecuritygroupingress", "ec2:cancelspotinstancerequests", "ec2:createsecuritygroup", "ec2:createtags", "ec2:deletetags", "ec2:describe*", "ec2:modifyimageattribute", "ec2:modifyinstanceattribute", "ec2:requestspotinstances", "ec2:runinstances", "ec2:startinstances", "ec2:stopinstances", "ec2:terminateinstances", "ec2:authorizesecuritygroupegress", "ec2:deletesecuritygroup", "ec2:revokesecuritygroupegress", "ec2:describenetworkinterfaces", "ec2:createnetworkinterface", "ec2:deletenetworkinterface", "ec2:detachnetworkinterface", "elasticmapreduce:*", "iam:getinstanceprofile", "iam:getrole", "iam:getrolepolicy", "iam:listattachedrolepolicies", "iam:listrolepolicies", "iam:listinstanceprofiles", "iam:passrole", "rds:describedbinstances", "rds:describedbsecuritygroups", "redshift:describeclusters", "redshift:describeclustersecuritygroups", "s3:createbucket", "s3:deleteobject", "s3:get*", "s3:list*", "s3:put*", "sdb:batchputattributes", "sdb:select*", "sns:gettopicattributes", "sns:listtopics", "sns:publish", "sns:subscribe", "sns:unsubscribe", "sqs:createqueue", "sqs:delete*", "sqs:getqueue*", "sqs:purgequeue", "sqs:receivemessage" ], "resource": ["*"] }] }
trust relationship
{ "version": "2008-10-17", "statement": [ { "sid": "", "effect": "allow", "principal": { "service": [ "elasticmapreduce.amazonaws.com", "datapipeline.amazonaws.com" ] }, "action": "sts:assumerole" } ] }
error:
the parameter filter: db-instance-id not valid identifier. identifiers must begin letter; must contain ascii letters, digits, , hyphens; , must not end hyphen or contain 2 consecutive hyphens. (service: amazonrds; status code: 400; error code: invalidparametervalue; request id: 46f0550f-810e-11e7-8ae4-d78b5020153b)
Comments
Post a Comment