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

fix: added missing fields in kafka datasource #56

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

jackdelahunt
Copy link
Contributor

@jackdelahunt jackdelahunt commented Oct 27, 2022

Description

This pro adds fields that were missing from the kafka data source. This was causing crashes before.

Verify

Terraform config (main.tf)

terraform {
  required_providers {
    rhoas = {
      source  = "registry.terraform.io/redhat-developer/rhoas"
      version = "0.1.0"
    }
  }
}

provider "rhoas" {
    offline_token = "..."
}


resource "rhoas_kafka" "instance" {
  name = "instance"
  plan = "developer.x1"
  billing_model = "standard"
}

data "rhoas_kafka" "instance_data" {
  id = rhoas_kafka.instance.id
}

Commands

  • make clean
  • make install
  • terraform init
  • terraform apply

Expected Results

All actions should be performed correctly with the new kafka being created and the data source reading the kafka resource.

@jackdelahunt jackdelahunt merged commit 6800224 into main Oct 27, 2022
@jackdelahunt jackdelahunt deleted the kafka-datasource-missing-fields branch October 27, 2022 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants