Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avi_authprofile resource always indicates a change is required. #522

Open
jcsmith opened this issue Jan 25, 2023 · 1 comment
Open

avi_authprofile resource always indicates a change is required. #522

jcsmith opened this issue Jan 25, 2023 · 1 comment
Labels

Comments

@jcsmith
Copy link

jcsmith commented Jan 25, 2023

Describe the bug

Every time terraform apply is executed it is always indicated that the avi_authprofile resource will be changed even when executed immediately after the first execution.

Reproduction steps

  1. Execute terraform apply.
    2.Accept changes to avi_authprofile resource
  2. Execute terraform apply again.
  3. terraform always indicates that the avi_authprofile resource will be updated.

Expected behavior

If no updates are required none should be made.

Additional context

No response

@jcsmith jcsmith added the bug label Jan 25, 2023
@seagyn
Copy link

seagyn commented Jan 27, 2023

This is because they're transforming arguments and saving that to state. So every time you run an apply, the argument is difference (this happens on MANY resources).

We're either just ignoring them in our heads or ignoring changes on entire blocks (which is terrible).

#510 as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants