Skip to content
Advertisement

Tag: amazon-web-services

Why package is not updated even the lifecycle script has been executed successfully in SageMaker?

I wanted to update pandas version in ‘conda-python3’ in SageMaker, I’ve followed the steps in this page, and linked the new configuration to my instance, CloudWatch log shows me the script has been executed successfully, but when I restart my instance and print out the panda version, it’s still showing the old version 0.24.2, I don’t understand why? This is

AWS CDK How to include principals in IAM policy?

Hi I am working on AWS CDK. I am trying to create resource based policy. Below is my cloud formation template. Below I am trying to create same using CDK. This results in below error Error: Expected object reference, got “arn:aws:iam::123:root” Can someone help me to write correct syntax using python? Any help would be appreciated. Thanks Answer principals needs

boto3 s3 Object expiration “MalformedXML” error

I’m trying to set the lifecycle configuration of a subdirectory in Amazon S3 bucket by using boto3 put_bucket_lifecycle_configuration. I used this code from aws documentation as referece: I removed Transitions and added Expiration, to better fit my purpouses. Here is my code: The error I’m receiving is: What could be causing this error? Answer I followed @Michael-sqlbot suggestion and found

Advertisement