Skip to content
This repository was archived by the owner on Jan 10, 2021. It is now read-only.

import fail on jbangdev org #17

@maxandersen

Description

@maxandersen

Trying to use this on jbangdev which is quite simple org but it eventually fails:

Warning: Interpolation-only expressions are deprecated

  on github-team-memberships-jbang-catalog.tf line 3, in resource "github_team_membership" "jbang-catalog-maxandersen":
   3:   team_id     = "${github_team.jbang-catalog.id}"

Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.

Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.

(and 3 more similar warnings elsewhere)

parse error: Invalid numeric literal at line 1, column 5
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 55957    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Warning: Interpolation-only expressions are deprecated

  on github-team-memberships-jbang-catalog.tf line 3, in resource "github_team_membership" "jbang-catalog-maxandersen":
   3:   team_id     = "${github_team.jbang-catalog.id}"

Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.

Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.

(and one more similar warning elsewhere)

Error: resource address "github_team_repository.jbang-catalog-jbang-catalog" does not exist in the configuration.

Before importing this resource, please create its configuration in the root module. For example:

resource "github_team_repository" "jbang-catalog-jbang-catalog" {
  # (resource arguments)
}

any idea on what to go look for ?

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