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

Use AWS IAM Access Analyzer in AWS Organizations #12593

Closed
ewbankkit opened this issue Mar 31, 2020 · 6 comments · Fixed by #14493
Closed

Use AWS IAM Access Analyzer in AWS Organizations #12593

ewbankkit opened this issue Mar 31, 2020 · 6 comments · Fixed by #14493
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/accessanalyzer Issues and PRs that pertain to the accessanalyzer service.
Milestone

Comments

@ewbankkit
Copy link
Contributor

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

Analyzers can now be created in the AWS Organizations master account or a delegated member account with the entire organization as the zone of trust.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_accessanalyzer_analyzer" "example" {
  type = "ORGANIZATION"
}

References

Announcement.
Blog post.

Requires AWS SDK v1.30.0:

Related:

@ewbankkit ewbankkit added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 31, 2020
@ghost ghost added the service/accessanalyzer Issues and PRs that pertain to the accessanalyzer service. label Mar 31, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Mar 31, 2020
@bflad bflad removed the needs-triage Waiting for first response or review from a maintainer. label Mar 31, 2020
@ghost
Copy link

ghost commented Apr 6, 2020

Organizations definitely needs to supported for the analyzer.

@sutharshan-sharma
Copy link

@ewbankkit @bflad Any example usage available for aws_accessanalyzer_archive_rule resource in Terraform ?

@diego-ojeda-binbash
Copy link

I would also appreciate that this is implemented 🙏

Its usage should be straightforward:

resource "aws_accessanalyzer_analyzer" "example" {
  name = "example"
  type = "ORGANIZATION"
}

@bflad bflad self-assigned this Aug 6, 2020
bflad added a commit that referenced this issue Aug 6, 2020
…ype argument

Reference: #12593

Output from acceptance testing in Organizations testing account:

```
--- PASS: TestAccAWSAccessAnalyzer_serial (344.90s)
    --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer (344.90s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/basic (10.64s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/disappears (7.41s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Tags (22.00s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Type_Organization (304.86s)
```
bflad added a commit that referenced this issue Aug 12, 2020
…ype argument

Reference: #12593

Output from acceptance testing in Organizations testing account:

```
--- PASS: TestAccAWSAccessAnalyzer_serial (344.90s)
    --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer (344.90s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/basic (10.64s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/disappears (7.41s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Tags (22.00s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Type_Organization (304.86s)
```
bflad added a commit that referenced this issue Aug 12, 2020
…ype argument (#14493)

Reference: #12593

Output from acceptance testing in Organizations testing account:

```
--- PASS: TestAccAWSAccessAnalyzer_serial (344.90s)
    --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer (344.90s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/basic (10.64s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/disappears (7.41s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Tags (22.00s)
        --- PASS: TestAccAWSAccessAnalyzer_serial/Analyzer/Type_Organization (304.86s)
```
@bflad bflad added this to the v3.2.0 milestone Aug 12, 2020
@bflad
Copy link
Contributor

bflad commented Aug 12, 2020

Support for this functionality has been merged and will release with version 3.2.0 of the Terraform AWS Provider, later this week. 👍

@ghost
Copy link

ghost commented Aug 14, 2020

This has been released in version 3.2.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 for triage. Thanks!

@ghost
Copy link

ghost commented Sep 12, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 12, 2020
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. service/accessanalyzer Issues and PRs that pertain to the accessanalyzer service.
Projects
None yet
4 participants