From bcd8e13c2422968991f2ff4d77937778e7d34220 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 18 Aug 2017 15:51:58 -0400 Subject: [PATCH] add required fields for gce credentials see: https://github.com/ansible/ansible-tower/issues/7463 --- awx/main/models/credential.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/models/credential.py b/awx/main/models/credential.py index 9f66965651..7a18c1bf52 100644 --- a/awx/main/models/credential.py +++ b/awx/main/models/credential.py @@ -926,7 +926,8 @@ def gce(cls): 'multiline': True, 'help_text': ('Paste the contents of the PEM file associated ' 'with the service account email.') - }] + }], + 'required': ['username', 'ssh_key_data'], } )