This message was deleted.
# aws
s
This message was deleted.
b
can you link me to where they are in the docs? we'll get them fixed
you should be able to refer to
AWSLambda_FullAccess
r
I haven't used anything special regarding policy management... I found the tut in the doc: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/lb/#network-load-balancer
sorry wrong link
and this github example doesn't work anymore either: https://github.com/pulumi/examples/blob/master/aws-ts-hello-fargate/index.ts
Maybe these policies are still used by pulumi
b
can you verify your deps are up to date?
r
So I've upgraded all my pulumi deps, wiped node_modules, yarn lock, and reinstalled, and I still get this error:
Copy code
aws:iam:RolePolicyAttachment (examples-nginx-task-32be53a2):
    error: 1 error occurred:
        * Error attaching policy arn:aws:iam::aws:policy/AWSLambdaFullAccess to IAM Role examples-nginx-task-48e1259: NoSuchEntity: Policy arn:aws:iam::aws:policy/AWSLambdaFullAccess does not exist or is not attachable.
        status code: 404, request id: 964e52e2-4175-45a3-a613-5a72c28db2c6
 
  aws:iam:RolePolicyAttachment (examples-nginx-task-fd1a00e5):
    error: 1 error occurred:
        * Error attaching policy arn:aws:iam::aws:policy/AmazonEC2ContainerServiceFullAccess to IAM Role examples-nginx-task-48e1259: NoSuchEntity: Policy arn:aws:iam::aws:policy/AmazonEC2ContainerServiceFullAccess does not exist or is not attachable.
        status code: 404, request id: 96e5ecb0-110b-4e84-addb-0588291cd166
my package.json:
Copy code
"dependencies": {
    "@pulumi/aws": "^4.1.0",
    "@pulumi/awsx": "^0.22.0",
    "@pulumi/pulumi": "^3.1.0"
  },
actually I forgot to update awsx
a silly mistake, thanks for helping
works now
❤️