Skip to content

container_namespace should infer project_id from provider but doesn't #3068

@bennycornelissen

Description

@bennycornelissen

Terraform Version

Terraform v1.5.7
on darwin_arm64
+ provider registry.terraform.io/scaleway/scaleway v2.53.0

Affected Resource(s)

  • scaleway_container_namespace

Terraform Configuration Files

provider "scaleway" {
  #should be the ID of a non-default project
  project_id = "REDACTED"
  region     = "nl-ams"
  zone       = "nl-ams-1"
}

resource "scaleway_container_namespace" "foo" {
  name       = "foo"
}

Expected Behavior

Create a Serverless Containers namespace in the project matching the ID from the provider.

Actual Behavior

Creates a Serverless Containers namespace in the default project.

Steps to Reproduce

  1. Apply
  2. Destroy
  3. Update the scaleway_container_namespace resource, adding in the project_id argument
  4. Apply again. It will now create the namespace in the correct place.

Metadata

Metadata

Labels

containerContainer issues, bugs and feature requestspriority:highestBugs filled by customers, security issuesprovider

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions