Skip to content

Commit

Permalink
INTMDB-440: Update ldap_configuration broken (#1033)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md

* Chore(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#1026)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add authentication_enabled parameter to LDAPConfigurationUpdate

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Zuhair Ahmed <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 30, 2023
1 parent fa46656 commit 173370a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodbatlas/resource_mongodbatlas_ldap_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func resourceMongoDBAtlasLDAPConfigurationUpdate(ctx context.Context, d *schema.
ldap := &matlas.LDAP{}

if d.HasChange("authentication_enabled") {
ldap.AuthenticationEnabled = pointy.Bool(d.Get("").(bool))
ldap.AuthenticationEnabled = pointy.Bool(d.Get("authentication_enabled").(bool))
}

if d.HasChange("authorization_enabled") {
Expand Down

0 comments on commit 173370a

Please sign in to comment.