Update inspec container for new rubocop and terraform versions

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
Sam Levenick 2019-12-13 00:11:39 +00:00 committed by Modular Magician
commit 603c558e13
2 changed files with 5 additions and 2 deletions

View file

@ -609,7 +609,10 @@ def topic_pattern(name, module):
regex = r"projects/.*/topics/.*"
if not re.match(regex, name):
formatted_params = {'project': module.params['project'], 'topic': replace_resource_dict(module.params['topic'], 'name')}
formatted_params = {
'project': module.params['project'],
'topic': replace_resource_dict(module.params['topic'], 'name'),
}
name = "projects/{project}/topics/{topic}".format(**formatted_params)
return name