Skip to content

Commit

Permalink
Merge pull request #237 from nuwang/fix_dns_hostname_syntax
Browse files Browse the repository at this point in the history
Fix syntax issue when modifying vpc attributes
  • Loading branch information
nuwang committed Mar 27, 2020
2 parents 137039b + c496b11 commit 1fc30a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudbridge/providers/aws/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ def create(self, label, cidr_block):
if label:
cb_net.label = label
self.provider.ec2_conn.meta.client.modify_vpc_attribute(
VpcId=cb_net.id, EnableDnsHostnames=True)
VpcId=cb_net.id, EnableDnsHostnames={'Value': True})
return cb_net

@dispatch(event="provider.networking.networks.delete",
Expand Down

0 comments on commit 1fc30a6

Please sign in to comment.