-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing aws-native:sqs:QueuePolicy
#69
Comments
When mapping this one, the Pulumi classic My only course of action is to create multiple QueuePolicy resources? Problem is I am expected to return a Resource from the mapping function. Should I create a const comp = new ComponentResource(
"AWS::SQS::QueuePolicy",
name,
{},
options
);
props.Queues.map(
(queueUrl) =>
new sqs.QueuePolicy(
name,
{
policy: toJson(props.PolicyDocument),
queueUrl,
},
{
parent: comp,
}
)
);
return comp; |
I've left a comment here which is applicable to this issue: |
Re: creating multiple queue resources, @pgavlin could you take a look at that? |
Yes, I think that's a reasonable path forwards. It's been a while since I had my nose in this code, so I can't recall for certain, but you may need to make sure that the component resource has appropriate public properties s.t. attribute mappings work properly. |
Closing this since aws-native:sqs:QueuePolicy is available in the latest version of @pulumi/aws-native (v0.107.0) |
What happened?
The AWS::SQS::QueuePolicy is missing.
Expected Behavior
When using the QueuePolicy Resource, the application should deploy without fail.
Steps to reproduce
Create a Queue and grant another Resource access. This should result in a QueuePolicy Resource being created with a Policy.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: