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 resource aws_auditmanager_assessment #28356

Closed
jar-b opened this issue Dec 14, 2022 · 3 comments · Fixed by #28643
Closed

New resource aws_auditmanager_assessment #28356

jar-b opened this issue Dec 14, 2022 · 3 comments · Fixed by #28643
Labels
new-resource Introduces a new resource. service/auditmanager Issues and PRs that pertain to the auditmanager service.
Milestone

Comments

@jar-b
Copy link
Member

jar-b commented Dec 14, 2022

This resource will allow practitioners to manage custom AuditManager assessments with Terraform.

SDK Reference

Potential Terraform Configuration

resource "aws_auditmanager_assessment" "test" {
  name = "example"

  assessment_reports_destination {
    destination      = "s3://example-bucket"
    destination_type = "S3"
  }

  framework_id = aws_auditmanager_framework.test.id

  roles {
    role_arn  = "arn:aws:iam:012345678901::role/example-role"
    role_type = "PROCESS_OWNER"
  }

  scope {
    # NOTE: if only account ID is required, these may be good candidates
    # to simplify into lists of strings. Eg.
    #
    # aws_accounts = ["012345678901", "012345678900"]
    # aws_services = ["s3", "cloudtrail"]
    aws_accounts {
      id = "012345678900"
    }
    aws_services {
      service_name = "S3"
    }
  }
}

Arguments

  • assessment_reports_destination - (Required) Assessment report storage destination configuration.
    • destination - (Required) Destination of the assessment report.
    • destination_type - (Required) Destination type. Currently, S3 is the only valid value.
  • framework_id - (Required) Unique identifier of the framework the assessment will be created from.
  • name - (Required) Name of the assessment.
  • roles - (Required) List of roles for the assessment.
    • role_arn - (Required) Amazon Resource Name (ARN) of the IAM role.
    • role_type - (Required) Type of customer persona. For assessment creation, type must always be PROCESS_OWNER.
  • scope - (Required) Amazon Web Services accounts and services that are in scope for the assessment.
    • aws_accounts - Amazon Web Services accounts that are in scope for the assessment.
      • email_address - Email address associated with the Amazon Web Services account.
      • id - Identifier for the Amazon Web Services account.
      • name - Name of the Amazon Web Services account.
    • aws_services - Amazon Web Services services that are included in the scope of the assessment.
      • service_name - Name of the Amazon Web Service.
  • description - (Optional) Description of the assessment.
  • tags - (Optional)

Attributes

arn - Amazon Resource Name (ARN) of the assessment.
id - Unique identifier for the assessment.
status - Overall status of the assessment.

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@jar-b jar-b changed the title aws_auditmanager_assessment New resource aws_auditmanager_assessment Dec 14, 2022
@jar-b jar-b added enhancement Requests to existing resources that expand the functionality or scope. service/auditmanager Issues and PRs that pertain to the auditmanager service. new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. labels Dec 14, 2022
@github-actions github-actions bot added this to the v4.49.0 milestone Jan 4, 2023
@github-actions
Copy link

github-actions bot commented Jan 5, 2023

This functionality has been released in v4.49.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

github-actions bot commented Feb 5, 2023

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 Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/auditmanager Issues and PRs that pertain to the auditmanager service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant