fix(portal): correct "region" which is actually az everywhere else
This should allow for the links to work for SSM in the portal.
This commit is contained in:
parent
3e5f1565b1
commit
08205647a5
1 changed files with 1 additions and 1 deletions
|
@ -132,5 +132,5 @@ class ProxyCloudfrontAutomation(ProxyAutomation):
|
||||||
if s["address"].endswith(".module.instance"):
|
if s["address"].endswith(".module.instance"):
|
||||||
for x in s["resources"]:
|
for x in s["resources"]:
|
||||||
if x["address"].endswith(".module.instance.aws_instance.default[0]"):
|
if x["address"].endswith(".module.instance.aws_instance.default[0]"):
|
||||||
update_smart_proxy_instance(group_id, self.provider, "us-east-2", x['values']['id'])
|
update_smart_proxy_instance(group_id, self.provider, "us-east-2a", x['values']['id'])
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue