aws.iam.*PolicyAttachmentArgs inconsistencies #808
Labels
area/providers
impact/usability
Something that impacts users' ability to use the product easily and intuitively
Milestone
Hi,
aws.iam.RolePolicyAttachmentArgs
requires the role as apulumi.Input<string | Role>
, butGroupPolicyAttachmentArgs
,UserPolicyAttachmentArgs
andPolicyAttachmentArgs
accepts only their respective class e.g.pulumi.Input<Group>
,pulumi.Input<User>
and does not accept string, which makes hard to use them when those resources are managed outside pulumi, so we only have a name or id.Especially because the
aws.iam.get*
functions does not return these types, butGet*Results
, e.g.GetGroupResults.
Would be nice to make them similar like the
RolePolicyAttachmentArgs
.The text was updated successfully, but these errors were encountered: