From 4d47d6b7f6a1e4d77dbf086624d5884535c0ed2f Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Sun, 17 Nov 2019 19:11:20 -0500 Subject: [PATCH] remove unnecessary CF method --- moto/iam/models.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/moto/iam/models.py b/moto/iam/models.py index a8649e891..73d58b996 100644 --- a/moto/iam/models.py +++ b/moto/iam/models.py @@ -489,13 +489,6 @@ class SshPublicKey(BaseModel): def uploaded_iso_8601(self): return iso_8601_datetime_without_milliseconds(self.upload_date) - def get_cfn_attribute(self, attribute_name): - from moto.cloudformation.exceptions import UnformattedGetAttTemplateException - - if attribute_name == "PublicKeyBody": - return self.public_key_body - raise UnformattedGetAttTemplateException() - class Group(BaseModel): def __init__(self, name, path="/"):