Skip to content

[AVM Module Issue]: Certificate hostnames get removed in plan when using defaults in certificate submodule #284

@PbALpi7xEX

Description

@PbALpi7xEX

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Bug

(Optional) Module Version

0.22.0

(Optional) Correlation Id

No response

Description

Using the certificate sub-module, and documentation states the following for "hostnames"

Description: (Optional) The host names the certificate applies to. If omitted, Azure derives them from the certificate's subject alternative names.

However, plan detects drift, and removes all hostnames if I omit the "hostnames" parameter from my module call. Seems the resource is unaffected in portal regardless, but this cause dirty plans each and every time a plan/apply cycle is run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions