Provides a Inspector assessment target
resource "aws_inspector_resource_group" "bar" {
tags {
Name = "foo"
Env = "bar"
}
}
resource "aws_inspector_assessment_target" "foo" {
name = "assessment target"
resource_group_arn = "${aws_inspector_resource_group.bar.arn}"
}
The following arguments are supported:
name - (Required) The name of the assessment target. resource_group_arn (Required )- The resource group ARN stating tags for instance matching. In addition to all arguments above, the following attributes are exported:
arn - The target assessment ARN.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/inspector_assessment_target.html