8000 [Bug] 1.7.0 errors when create_oidc_provider = false · Issue #39 · unfunco/terraform-aws-oidc-github · GitHub
[go: up one dir, main page]

Skip to content
[Bug] 1.7.0 errors when create_oidc_provider = false #39
Closed
@morremeyer

Description

@morremeyer

When create_oidc_provider = false is set, 1.7.0 errors with

Error: Invalid index
on .terraform/modules/<module_name>/outputs.tf line 30, in output "oidc_provider_arn":
  value       = var.enabled ? aws_iam_openid_connect_provider.github[0].arn : ""
aws_iam_openid_connect_provider.github is empty tuple
The given key does not identify an element in this collection value: the collection has no elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0