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

Docs say title case is supported for type in boundary_host_catalog when it isn't #115

Closed
jacobmammoliti opened this issue Jun 7, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jacobmammoliti
Copy link

The provider docs say title case is supported here but it does not work. Looks like we have to use static. You get the error shown below:

boundary_host_catalog.static: Creating...
╷
│ Error: invalid type provided
│ 
│   with boundary_host_catalog.static,
│   on main.tf line 75, in resource "boundary_host_catalog" "static":
│   75: resource "boundary_host_catalog" "static" {

Either, support needs to be added or docs need to be updated.

Terraform Version

$ terraform -v         
Terraform v0.15.5
on darwin_amd64
+ provider registry.terraform.io/hashicorp/boundary v1.0.2

Affected Resource(s)

Please list the resources as a list, for example:

  • boundary_host_catalog

Terraform Configuration Files

resource "boundary_host_catalog" "static" {
  name     = var.boundary_host_catalog
  type     = "Static"
  scope_id = boundary_scope.project.id
}

Expected Behavior

This should accept the title case of Static based on docs.

Actual Behavior

The error is shown posted above.

Steps to Reproduce

Define the boundary_host_catalog resource and pass the type with Static

@malnick malnick self-assigned this Jun 21, 2021
@malnick malnick added the bug Something isn't working label Jun 21, 2021
@malnick
Copy link
Contributor

malnick commented Jun 21, 2021

Thanks for opening this, the type has indeed changed to static (non-title-case). We'll open a PR to fix this on the provider, thank you!

@malnick
Copy link
Contributor

malnick commented Jun 21, 2021

PR for fixing this in our docs: #121

@malnick malnick closed this as completed Jun 21, 2021
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

2 participants