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

Don't fail plan if project,region,zone defaults cannot be retrieved #16135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 5, 2023

  1. Don't fail plan if project,region,zone defaults cannot be retrieved

    The DefaultProviderProject, DefaultProviderRegion and
    DefaultProviderZone funcs set respectively the project, region and zone
    in a diff if one is provided, unless they fetch the defaults from config.
    However, at times, these value may not be available during a plan, as
    they are dynamically computed at apply time.
    We should avoid throwing an error if this is the case, but rather set
    an empty value in the diff.
    
    Resolves hashicorp#16133
    Simon Aquino committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    343d5ff View commit details
    Browse the repository at this point in the history