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

dyn provider attempts to connect when count = 0 #1

Closed
slimm609 opened this issue Aug 4, 2021 · 1 comment
Closed

dyn provider attempts to connect when count = 0 #1

slimm609 opened this issue Aug 4, 2021 · 1 comment

Comments

@slimm609
Copy link

slimm609 commented Aug 4, 2021

if including a record, even with a count of 0 the provider attempts to connect out. This makes it very difficult to be modular as even when disabled in an environment its failing because of credentials missing.

resource "dyn_record" "test" {
  count = var.dyn_env == "true" ? 1 : 0
  zone  = "zone.com"
  name  = "test"
  value = record
}
@xabufr xabufr closed this as completed in d9bb35a Aug 5, 2021
xabufr added a commit that referenced this issue Aug 5, 2021
fix: #1 do not validate credentials at provider initialization

See merge request cshield.tech/infra/terraform-provider-dyn!20
@xabufr
Copy link
Contributor

xabufr commented Aug 5, 2021

Thanks for the report, this should be fixed in the release v1.3.4 !

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

No branches or pull requests

2 participants