Skip to content

[Enhancement]: Remove redundant source parameter from aws_securitylake_aws_log_source and promote members #37160

Open
@gdavison

Description

@gdavison

Description

The resource type aws_securitylake_aws_log_source has a single root parameter, source. This is because the AWS API request takes multiple `Sources. However, the design of the resource allows it to configure a single log source.

Promote the existing attributes in source up one level.

Affected Resource(s) and/or Data Source(s)

aws_securitylake_aws_log_source

Potential Terraform Configuration

resource "aws_securitylake_aws_log_source " "example" {
  "accounts"       = ...
  "regions"        = ...
  "source_name"    = ...
  "source_version" = ...
}

References

N/A

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeIntroduces a breaking change in current functionality; usually deferred to the next major release.enhancementRequests to existing resources that expand the functionality or scope.service/securitylakeIssues and PRs that pertain to the securitylake service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions