You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
trying to use a custom role - where all do I change it? #161
thank you so much for the quick response.
Yes, to create resources.
I changed role in main.tf and lambda_iam.tf, but still seeing the same
access denied, can't create s3bucket, even after I already created the
bucket and put it in terrafrom.tfvars.
I am brand new to terraform, so perhaps I am doing something ditzy.
@jsheflin please follow the above advice and do not change the lambda_iam.tf file itself. if you're getting access denied with the role you're supplying in the provider block (using role_arn) then you should check to make sure that role has the permissions you need
So I can't assume the roles I need to run the deploy. I guess my only route is to request more permissions from the owner? Or is there any route around? I can create the buckets, logs, policies, SQS, SNS, via aws console.
I know this is not a binaryalert issue, so thanks for the help already.
Activity
ryandeivert commentedon Aug 5, 2020
@jsheflin is the custom role you need for creating the resources? it sounds like you might need something like this:
if so, you'd have to edit the main.tf with your values
jsheflin commentedon Aug 5, 2020
ryandeivert commentedon Aug 5, 2020
@jsheflin please follow the above advice and do not change the
lambda_iam.tffile itself. if you're getting access denied with the role you're supplying in theproviderblock (usingrole_arn) then you should check to make sure that role has the permissions you needjsheflin commentedon Aug 5, 2020
jsheflin commentedon Aug 5, 2020
So I can't assume the roles I need to run the deploy. I guess my only route is to request more permissions from the owner? Or is there any route around? I can create the buckets, logs, policies, SQS, SNS, via aws console.
I know this is not a binaryalert issue, so thanks for the help already.