Provides an Amazon Inspector Classic Resource Group.
resource "aws_inspector_resource_group" "example" {
tags = {
Name = "foo"
Env = "bar"
}
}
This resource supports the following arguments:
tags
- (Required) Key-value map of tags that are used to select the EC2 instances to be included in an Amazon Inspector assessment target.This resource exports the following attributes in addition to the arguments above:
arn
- The resource group ARN.