Skip to content

Commit

Permalink
#738 add mandatory field when updating IPAddress (#752)
Browse files Browse the repository at this point in the history
- sku seems to be mandatory in Azure API
  • Loading branch information
verhyppo authored Feb 14, 2022
1 parent b7b43b8 commit 5832e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/azure_rm_publicipaddress.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def exec_module(self, **kwargs):
pip = self.network_models.PublicIPAddress(
location=results['location'],
public_ip_allocation_method=results['public_ip_allocation_method'],
sku=self.network_models.PublicIPAddressSku(name=self.sku) if self.sku else None,
tags=results['tags']
)
if self.domain_name:
Expand Down

0 comments on commit 5832e34

Please sign in to comment.