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!!

demandé il y a un mois88 vues
1 réponse
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
répondu il y a un mois
profile picture
EXPERT
Artem
vérifié il y a un mois
  • Hi,I already deleted the conformance packs past few days.Only this config rule remain and cannot do any action.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions