Open mwm5945 opened 1 year ago
/cc @aws-controllers-k8s/sagemaker-maintainer
Hi mwm5945, will attempt to replicate but have a couple questions:
arn:aws:sts::<acct omitted>:assumed-role/sagemaker-provisioner/kiam-kiam
the ack controller role or the execution role?1.2.2
endpint-config
s, as it's not listed as an option here. I know doing this would work, as it worked previously, however there was a bug in the platform that handles policy validations, which is ultimately what caused this to be discovered.Thanks!
Hi Micheal, We are checking with the service team on this issue
Hi Micheal, I can confirm this is a documentation issue and sagemaker:updateEndpoint
permission needs to be on the endpoint config resource as well. We will work with the documentation team to update the docs.
Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale
/remove-lifecycle stale
Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale
/remove-lifecycle stale
Describe the bug Related to this issue in the CDK: https://github.com/aws/aws-cdk/issues/11594, it appears that updating an existing endpoint with a new Endpoint may require contradictory IAM permissions. Updating the
endpointConfigName
field in an existingendpoint
yields this error for me:According to this doc, all UpdateEndpoint requires is to specify an endpoint name, which due to internal corporate policies is required. We are not able to add any
EndpointConfig
s to the policy due to the same policy.Steps to reproduce
IAM policy scoped as much as possible:
Create the above resources, with the endpoint using
cfg1
, then try switching tocfg2
by updating the existing endpoint yaml.Expected outcome A concise description of what you expected to happen.
Environment
1.22.10
no
sagemaker