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

posta un mese fa88 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un mese fa
profile picture
ESPERTO
Artem
verificato un mese fa
  • Hi,I already deleted the conformance packs past few days.Only this config rule remain and cannot do any action.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande