Skip to content
Discussion options

You must be logged in to vote

You can use terragrunt destroy with the -target option to specify a particular module whose resources you wish to destroy.

For example, let's say you have a deployed CIS-Benchmark compliant Gruntwork Reference Architecture and you wish to destroy only the Cloudtrail module's benchmark_metric_filters` module, which looks like this:

# -----------------------------------------------------------------------------------------------
# CREATE LOG FILTERS FOR ALERTING
# -----------------------------------------------------------------------------------------------

module "benchmark_metric_filters" {
  source = "../cloudwatch-logs-metric-filters"

  cloudwatch_logs_group_name  = module.cloudtrail.c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pdeva
Comment options

Answer selected by zackproser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants