Skip to content

Commit

Permalink
azurerm_automation_software_update_configuration remove deprecated …
Browse files Browse the repository at this point in the history
…misspelled attribute `error_meesage` (#28312)
  • Loading branch information
wyattfry authored Dec 17, 2024
1 parent ed20285 commit 07756a8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ type SoftwareUpdateConfigurationModel struct {
AutomationAccountID string `tfschema:"automation_account_id"`
Name string `tfschema:"name"`
ErrorCode string `tfschema:"error_code"`
ErrorMeesage string `tfschema:"error_meesage,removedInNextMajorVersion"`
ErrorMessage string `tfschema:"error_message"`
OperatingSystem string `tfschema:"operating_system,removedInNextMajorVersion"`
Linux []Linux `tfschema:"linux"`
Expand Down Expand Up @@ -806,7 +805,7 @@ func (m SoftwareUpdateConfigurationResource) Read() sdk.ResourceFunc {
}

if errorMessage := props.Error; errorMessage != nil {
state.ErrorMeesage = pointer.From(errorMessage.Message)
state.ErrorMessage = pointer.From(errorMessage.Message)
}
}

Expand Down

0 comments on commit 07756a8

Please sign in to comment.