Cannot delete AWS config rule it is grey out

0

Enter image description here

I'm facing an issue with deleting the configuration rule named "account-part-of-organizations-conformance-pack-zw3jpq3ja" in the us-east-1 region. I created from conformance pack and I deleted the entire pack from cloud formation stack(that I left one rule to select in the deletion process).Now that config rule selection is grey out as shown in the photo can neither delete nor edit it. I tried to delete it from aws cli and show me error that It's a service-linked rule, and I lack the necessary permissions to delete or edit it. This resulted in a charge of $0.31 for conformance pack evaluation and conformance pack item recorded. I'm concerned about potential future charges. I follow the steps the below link and give the permission but still having the issue. **https://repost.aws/knowledge-center/delete-config-rule **

This is my permission in json format that I add in IAM policy. I also set it in the permission boundary.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "config:DeleteConfigRule"
            ],
            "Resource": "*"
        }
    ]
}

I also enable service policies in My aws account. The json format is as follow.Enter image description here

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

Please help me it incur me charges everyday for this rule. Thanks!!

asked a month ago71 views
1 Answer
2

AWS Config rule is shown "Gray" if it was enabled via Security Hub or Conformance Packs Check your deployed Conformance Packs

https://docs.aws.amazon.com/config/latest/developerguide/conformance-packs.html

profile picture
EXPERT
answered 25 days ago
profile picture
EXPERT
Artem
reviewed 25 days ago
  • Hi,I already deleted the conformance packs past few days.Only this config rule remain and cannot do any action.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions