Skip to content
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

New Data Source: aws_ses_active_receipt_rule_set #20318

Closed
gswallow opened this issue Jul 26, 2021 · 2 comments · Fixed by #22310
Closed

New Data Source: aws_ses_active_receipt_rule_set #20318

gswallow opened this issue Jul 26, 2021 · 2 comments · Fixed by #22310
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-data-source Introduces a new data source. service/ses Issues and PRs that pertain to the ses service.
Milestone

Comments

@gswallow
Copy link

gswallow commented Jul 26, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Given a set of Terraform states that I want to create within a single AWS Account, I need a way to describe an SES active receipt rule set with a data source. Otherwise, I'm just blindly trying to create new SES receipt rules, hoping that the receipt rulee set it's intended to be attached to exists.

There are no SES-related data souurces.

New or Affected Resource(s)

]aws_ses_active_receipt_rule_set

Potential Terraform Configuration

# There can only be one of these, for all the stacks.
resource "aws_ses_active_receipt_rule_set" "sender_validation" {
  count = var.ses_create_active_receipt_rule_set ? 1 : 0
  rule_set_name = "sender-validation"
  depends_on    = [aws_ses_receipt_rule_set.sender_validation.0]
}

data "aws_ses_active_receipt_rule_set" "sender_validation" {
  count = var.ses_create_active_receipt_rule_set ? 0 : 1
  rule_set_name = "sender-validation"
}

output "active_receipt_rule_set" {
  value = var.ses_create_active_receipt_rule_set ? aws_ses_active_receipt_rule_set.sender_validation.0.id : data.aws_ses_active_receipt_rule_set.sender_validation.0.id
}

References

  • #0000
@gswallow gswallow added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 26, 2021
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/ses Issues and PRs that pertain to the ses service. labels Jul 26, 2021
@anGie44 anGie44 added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 28, 2021
@anGie44 anGie44 changed the title There are no SES data sources? New Data Source: aws_ses_active_receipt_rule_set Jul 28, 2021
@anGie44 anGie44 changed the title New Data Source: aws_ses_active_receipt_rule_set New Data Source: aws_ses_active_receipt_rule_set Jul 28, 2021
@github-actions github-actions bot added this to the v3.71.0 milestone Dec 22, 2021
@github-actions
Copy link

github-actions bot commented Jan 6, 2022

This functionality has been released in v3.71.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-data-source Introduces a new data source. service/ses Issues and PRs that pertain to the ses service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants