How to use aws sagemaker studio lifecycle config in terraform

Hi Guys

I have provisioned sagemaker domain, user profile in AWS. Recently I have deployed studio lifecycle configuration using aws_sagemaker_studio_lifecycle_config. I thought it would pick up the configuration by itself but it didn’t work that way.

Is this configuration needs to be attached using lifecycle_config_arns option in aws_sagemaker_domain or user_profile.

Thanks
Rahul

Regards
Rahul