{
    "format_version": "1.2",
    "terraform_version": "1.15.6",
    "planned_values": {
        "root_module": {
            "resources": [
                {
                    "address": "aws_account_alternate_contact.bad_security",
                    "mode": "managed",
                    "type": "aws_account_alternate_contact",
                    "name": "bad_security",
                    "provider_name": "registry.terraform.io/hashicorp/aws",
                    "schema_version": 0,
                    "values": {
                        "account_id": null,
                        "alternate_contact_type": "SECURITY",
                        "email_address": "security@example.com",
                        "name": "Security Team",
                        "phone_number": "+1-555-0100",
                        "timeouts": null,
                        "title": "Security"
                    },
                    "sensitive_values": {}
                },
                {
                    "address": "aws_organizations_delegated_administrator.bad_delegated",
                    "mode": "managed",
                    "type": "aws_organizations_delegated_administrator",
                    "name": "bad_delegated",
                    "provider_name": "registry.terraform.io/hashicorp/aws",
                    "schema_version": 0,
                    "values": {
                        "account_id": "123456789012",
                        "service_principal": "securityhub.amazonaws.com"
                    },
                    "sensitive_values": {}
                },
                {
                    "address": "aws_organizations_organization.bad_org",
                    "mode": "managed",
                    "type": "aws_organizations_organization",
                    "name": "bad_org",
                    "provider_name": "registry.terraform.io/hashicorp/aws",
                    "schema_version": 0,
                    "values": {
                        "aws_service_access_principals": [
                            "cloudtrail.amazonaws.com"
                        ],
                        "enabled_policy_types": [
                            "TAG_POLICY"
                        ],
                        "feature_set": "CONSOLIDATED_BILLING"
                    },
                    "sensitive_values": {
                        "accounts": [],
                        "aws_service_access_principals": [
                            false
                        ],
                        "enabled_policy_types": [
                            false
                        ],
                        "non_master_accounts": [],
                        "roots": []
                    }
                },
                {
                    "address": "aws_organizations_policy.bad_tag_policy",
                    "mode": "managed",
                    "type": "aws_organizations_policy",
                    "name": "bad_tag_policy",
                    "provider_name": "registry.terraform.io/hashicorp/aws",
                    "schema_version": 0,
                    "values": {
                        "content": "{\"tags\":{\"Environment\":{\"tag_value\":{\"@@assign\":[\"prod\",\"dev\",\"staging\"]}}}}",
                        "description": null,
                        "name": "bad-tag-policy",
                        "skip_destroy": null,
                        "tags": null,
                        "type": "TAG_POLICY"
                    },
                    "sensitive_values": {
                        "tags_all": {}
                    }
                }
            ]
        }
    },
    "resource_changes": [
        {
            "address": "aws_account_alternate_contact.bad_security",
            "mode": "managed",
            "type": "aws_account_alternate_contact",
            "name": "bad_security",
            "provider_name": "registry.terraform.io/hashicorp/aws",
            "change": {
                "actions": [
                    "create"
                ],
                "before": null,
                "after": {
                    "account_id": null,
                    "alternate_contact_type": "SECURITY",
                    "email_address": "security@example.com",
                    "name": "Security Team",
                    "phone_number": "+1-555-0100",
                    "timeouts": null,
                    "title": "Security"
                },
                "after_unknown": {
                    "id": true
                },
                "before_sensitive": false,
                "after_sensitive": {}
            }
        },
        {
            "address": "aws_organizations_delegated_administrator.bad_delegated",
            "mode": "managed",
            "type": "aws_organizations_delegated_administrator",
            "name": "bad_delegated",
            "provider_name": "registry.terraform.io/hashicorp/aws",
            "change": {
                "actions": [
                    "create"
                ],
                "before": null,
                "after": {
                    "account_id": "123456789012",
                    "service_principal": "securityhub.amazonaws.com"
                },
                "after_unknown": {
                    "arn": true,
                    "delegation_enabled_date": true,
                    "email": true,
                    "id": true,
                    "joined_method": true,
                    "joined_timestamp": true,
                    "name": true,
                    "status": true
                },
                "before_sensitive": false,
                "after_sensitive": {}
            }
        },
        {
            "address": "aws_organizations_organization.bad_org",
            "mode": "managed",
            "type": "aws_organizations_organization",
            "name": "bad_org",
            "provider_name": "registry.terraform.io/hashicorp/aws",
            "change": {
                "actions": [
                    "create"
                ],
                "before": null,
                "after": {
                    "aws_service_access_principals": [
                        "cloudtrail.amazonaws.com"
                    ],
                    "enabled_policy_types": [
                        "TAG_POLICY"
                    ],
                    "feature_set": "CONSOLIDATED_BILLING"
                },
                "after_unknown": {
                    "accounts": true,
                    "arn": true,
                    "aws_service_access_principals": [
                        false
                    ],
                    "enabled_policy_types": [
                        false
                    ],
                    "id": true,
                    "master_account_arn": true,
                    "master_account_email": true,
                    "master_account_id": true,
                    "master_account_name": true,
                    "non_master_accounts": true,
                    "roots": true
                },
                "before_sensitive": false,
                "after_sensitive": {
                    "accounts": [],
                    "aws_service_access_principals": [
                        false
                    ],
                    "enabled_policy_types": [
                        false
                    ],
                    "non_master_accounts": [],
                    "roots": []
                }
            }
        },
        {
            "address": "aws_organizations_policy.bad_tag_policy",
            "mode": "managed",
            "type": "aws_organizations_policy",
            "name": "bad_tag_policy",
            "provider_name": "registry.terraform.io/hashicorp/aws",
            "change": {
                "actions": [
                    "create"
                ],
                "before": null,
                "after": {
                    "content": "{\"tags\":{\"Environment\":{\"tag_value\":{\"@@assign\":[\"prod\",\"dev\",\"staging\"]}}}}",
                    "description": null,
                    "name": "bad-tag-policy",
                    "skip_destroy": null,
                    "tags": null,
                    "type": "TAG_POLICY"
                },
                "after_unknown": {
                    "arn": true,
                    "id": true,
                    "tags_all": true
                },
                "before_sensitive": false,
                "after_sensitive": {
                    "tags_all": {}
                }
            }
        }
    ],
    "configuration": {
        "provider_config": {
            "aws": {
                "name": "aws",
                "full_name": "registry.terraform.io/hashicorp/aws",
                "version_constraint": "~\u003e 5.0",
                "expressions": {
                    "region": {
                        "constant_value": "ap-south-1"
                    }
                }
            }
        },
        "root_module": {
            "resources": [
                {
                    "address": "aws_account_alternate_contact.bad_security",
                    "mode": "managed",
                    "type": "aws_account_alternate_contact",
                    "name": "bad_security",
                    "provider_config_key": "aws",
                    "expressions": {
                        "alternate_contact_type": {
                            "constant_value": "SECURITY"
                        },
                        "email_address": {
                            "constant_value": "security@example.com"
                        },
                        "name": {
                            "constant_value": "Security Team"
                        },
                        "phone_number": {
                            "constant_value": "+1-555-0100"
                        },
                        "title": {
                            "constant_value": "Security"
                        }
                    },
                    "schema_version": 0
                },
                {
                    "address": "aws_organizations_delegated_administrator.bad_delegated",
                    "mode": "managed",
                    "type": "aws_organizations_delegated_administrator",
                    "name": "bad_delegated",
                    "provider_config_key": "aws",
                    "expressions": {
                        "account_id": {
                            "constant_value": "123456789012"
                        },
                        "service_principal": {
                            "constant_value": "securityhub.amazonaws.com"
                        }
                    },
                    "schema_version": 0
                },
                {
                    "address": "aws_organizations_organization.bad_org",
                    "mode": "managed",
                    "type": "aws_organizations_organization",
                    "name": "bad_org",
                    "provider_config_key": "aws",
                    "expressions": {
                        "aws_service_access_principals": {
                            "constant_value": [
                                "cloudtrail.amazonaws.com"
                            ]
                        },
                        "enabled_policy_types": {
                            "constant_value": [
                                "TAG_POLICY"
                            ]
                        },
                        "feature_set": {
                            "constant_value": "CONSOLIDATED_BILLING"
                        }
                    },
                    "schema_version": 0
                },
                {
                    "address": "aws_organizations_policy.bad_tag_policy",
                    "mode": "managed",
                    "type": "aws_organizations_policy",
                    "name": "bad_tag_policy",
                    "provider_config_key": "aws",
                    "expressions": {
                        "content": {},
                        "name": {
                            "constant_value": "bad-tag-policy"
                        },
                        "type": {
                            "constant_value": "TAG_POLICY"
                        }
                    },
                    "schema_version": 0
                }
            ]
        }
    },
    "timestamp": "2026-07-20T00:46:49Z",
    "applyable": true,
    "complete": true,
    "errored": false
}