No.
This change doesn't remove existing inline policies in migration process. I checked using TF_LOG=debug and there was no aws api call to remove existing inline policies.
How Has This Been Tested?
[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects
[x] I have executed pre-commit run -a on my pull request
Description
Moved inline_policy in
aws_iam_role
toaws_iam_role_policy
andaws_iam_role_policies_exclusive
asforce_detach_policies
istrue
.Motivation and Context
inline_policy
block in aws_iam_role was deprecated since aws providerv5.68.0
asaws_iam_role_policies_exclusive
was added. https://github.com/hashicorp/terraform-provider-aws/pull/39203 https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.68.0Breaking Changes
No. This change doesn't remove existing inline policies in migration process. I checked using
TF_LOG=debug
and there was no aws api call to remove existing inline policies.How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request