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

preguntada hace un mes88 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un mes
profile picture
EXPERTO
Artem
revisado hace un mes
  • Hi,I already deleted the conformance packs past few days.Only this config rule remain and cannot do any action.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas