Hi, is that normal that the `aws.iam.GroupPolicyAt...
# general
c
Hi, is that normal that the
aws.iam.GroupPolicyAttachment
requires a
pulumi.Input<Group>
and not a
pulumi.Input<string | Group>
like the RolePolicyAttachment? Currently, I want to add a policy attachment to a group, but the group managed outside pulumi, which means I don't have a
Group
resource and I can't get one, because
aws.iam.getGroup
returns a
GetGroupResult
, not a
Group
w
That does not sound expected - and we have a design goal to never require only the stronger type. If you can open an issue - @broad-dog-22463 May be interested in taking a look.
b
I can definitely make this change to accept both - this looks like it precedes me but I can go through and loosen any rigidity
c
@white-balloon-205 @broad-dog-22463 here's the opened issue: https://github.com/pulumi/pulumi-aws/issues/808
👍 1