early-musician-41645
12/12/2018, 10:17 PMget
an existing resource in AWS? E.g. someone created an IAM role and I'd like to create some `aws.iam.RolePolicy`s for itmicroscopic-florist-22719
aws.iam.Role.get("theRole", theRoleArn)
should workearly-musician-41645
12/12/2018, 10:21 PMconst publicCIRunnerRole = aws.iam.Role.get("public-runner-role", "arn:aws:iam::009348887430:role/public-sandbox-uw2-gitlab-login-role");
Diagnostics:
aws:iam:Role (public-runner-role):
error: Preview failed: refreshing urn:pulumi:mustang-aws-iam-sandbox::mustang-aws-iam::aws:iam/role:Role::public-runner-role: Error reading IAM Role arn:aws:iam::009348887430:role/public-sandbox-uw2-gitlab-login-role: ValidationError: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-
status code: 400, request id: 7bde57a0-fe5e-11e8-9fb7-b35a28b1dffe
error: an error occurred while advancing the preview
microscopic-florist-22719
early-musician-41645
12/12/2018, 11:31 PMDo you want to perform this update? yes
Updating (tableau/online-sandbox-3-vpc-0d18addcc5815ae23):
Type Name Status Info
pulumi:pulumi:Stack eks-cluster-online-sandbox-3-vpc-0d18addcc5815ae23 2 messages
└─ eks:index:Cluster online-sandbox-3-eks-cluster
+ └─ pulumi-nodejs:dynamic:Resource online-sandbox-3-eks-cluster-vpc-cni **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (eks-cluster-online-sandbox-3-vpc-0d18addcc5815ae23):
error: error validating "/tmp/tmp-98776nCltLBu2Z5h9.tmp": error validating data: ValidationError(CustomResourceDefinition.spec.names): unknown field "scope" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames; if you choose to ignore these errors, turn validation off with --validate=false
output : {"clusterAccessRoleArn":"arn:aws:iam::009348887430:role/mustang-sandbox-k8s-cluster-role-30d65f2","clusterAutomationAccessRoleArn":"arn:aws:iam::009348887430:role/mustang-sandbox-automation-role-f39b756"}
pulumi-nodejs:dynamic:Resource (online-sandbox-3-eks-cluster-vpc-cni):
error: Plan apply failed: Command failed: kubectl apply -f /tmp/tmp-98776nCltLBu2Z5h9.tmp
error: error validating "/tmp/tmp-98776nCltLBu2Z5h9.tmp": error validating data: ValidationError(CustomResourceDefinition.spec.names): unknown field "scope" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames; if you choose to ignore these errors, turn validation off with --validate=false
Resources:
25 unchanged
microscopic-florist-22719
creamy-potato-29402
12/13/2018, 12:36 AMearly-musician-41645
12/13/2018, 7:11 PM@pulumi
packageswhite-balloon-205
early-musician-41645
12/13/2018, 9:05 PMwhite-balloon-205
dev
build should now have this change. Working on publishing a patch release with the fix as well.early-musician-41645
12/13/2018, 11:08 PMwhite-balloon-205