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

[Bug]: space_setting is not excepted in aws_sagemake_space #733

Open
Kantinofficiel opened this issue Nov 15, 2023 · 0 comments
Open

[Bug]: space_setting is not excepted in aws_sagemake_space #733

Kantinofficiel opened this issue Nov 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Kantinofficiel
Copy link

Terraform Core Version

0.13

AWS Provider Version

5.25

Affected Resource(s)

  • aws_sagemaker_space

Expected Behavior

I want to use space_settings argument like above :

resource "aws_sagemaker_space" "example" {
  domain_id    = var.domain_id
  space_name = var.space_name
  tags              = var.tags

  space_settings = {
    jupyter_server_app_settings = {
      code_repository = [
        {
          repository_url = var.code_repository_link
        }
      ]
    }
  }
}

Actual Behavior

I get an error while using space_settings argument

╷
│ Error: Unsupported argument
│ 
│   on sagemaker.tf line 8, in resource "aws_sagemaker_space" "this_space":
│    8:   space_settings = {
│ 
│ An argument named "space_settings" is not expected here. Did you mean to
│ define a block of type "space_settings"?

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

terraform {
  required_version = ">= 0.13"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "5.25"
    }
  }
}

Steps to Reproduce

Create a aws_sagemaker_resource with space_settings arguments

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@Kantinofficiel Kantinofficiel added the bug Something isn't working label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant