Skip to content

Commit

Permalink
Merge pull request #175 from yossig-aquasec/service_application_scope
Browse files Browse the repository at this point in the history
bug: fix aqua terraform provider not updating application scope from …
  • Loading branch information
semyonmor authored Sep 8, 2022
2 parents 65e5120 + facd82e commit 2f49afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aquasec/resource_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func expandService(d *schema.ResourceData) *client.Service {
service.IsRegistered = isRegistered.(bool)
}

applicationScope, ok := d.GetOk("application_scope")
applicationScope, ok := d.GetOk("application_scopes")
if ok {
service.ApplicationScopes = convertStringArr(applicationScope.([]interface{}))
}
Expand Down

0 comments on commit 2f49afc

Please sign in to comment.