Implement CloudFormations IAMRole::GetArn
This commit is contained in:
parent
40aa73a12b
commit
ad23b65784
2 changed files with 17 additions and 13 deletions
|
|
@ -370,7 +370,7 @@ class Role(BaseModel):
|
|||
from moto.cloudformation.exceptions import UnformattedGetAttTemplateException
|
||||
|
||||
if attribute_name == "Arn":
|
||||
raise NotImplementedError('"Fn::GetAtt" : [ "{0}" , "Arn" ]"')
|
||||
return self.arn
|
||||
raise UnformattedGetAttTemplateException()
|
||||
|
||||
def get_tags(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue