profile
viewpoint
Christian Groschupp cgroschupp Germany, Hamburg

cgroschupp/cert-manager-webhook-softlayer 2

Softlayer Webhook for Cert Manager

cgroschupp/ansible 0

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

cgroschupp/ansible-module-infoblox 0

Awesome infobox module for ansible

cgroschupp/asdf-container-diff 0

asdf plugin for container-diff

cgroschupp/asdf-plugins 0

Central plugin repository for asdf

cgroschupp/bimg 0

Small Go package for fast high-level image processing powered by libvips C library

cgroschupp/brudi 0

Easy, incremental and encrypted backup creation for different backends (file, mongoDB, mysql, postgres, etc.)

cgroschupp/cert-manager 0

Automatically provision and manage TLS certificates in Kubernetes

cgroschupp/charts 0

Curated applications for Kubernetes

issue commentfranzs/fritzbox_upload_certificate

Certificate Upload Error

Thanks for your help, i will try to debug this further!

joeyboey

comment created time in 20 days

issue closedfranzs/fritzbox_upload_certificate

Certificate Upload Error

First of all, thanks for the script!

Unfortunately I always get an error while uploading. Is there some command to further debug the response from the fritzbox?

Fritz!Box 6591 Cable Fritz!OS 7.13

closed time in 20 days

joeyboey

issue commentfranzs/fritzbox_upload_certificate

Certificate Upload Error

Hi Joey! Sorry for the delayed answer. At the moment there is no real debug mode. In general you have to have a look at the responses. An easy way would be to include a | tee <output-file> after ${CURL_CMD}.

joeyboey

comment created time in 21 days

startedcgroschupp/go-client-confluent-cloud

started time in a month

issue openedfranzs/fritzbox_upload_certificate

Certificate Upload Error

First of all, thanks for the script!

Unfortunately I always get an error while uploading. Is there some command to further debug the response from the fritzbox?

Fritz!Box 6591 Cable Fritz!OS 7.13

created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@cgroschupp 👀😊

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@cgroschupp here is the related PR for the TF module: https://github.com/Mongey/terraform-provider-confluentcloud/pull/40

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@cgroschupp Is there any chance to move forward with this? I would like to introduce the change in the Terraform module, once this PR has been completed. thanks!

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@cgroschupp Yes, but that's not part of this repo if I am not mistaken(?)

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Cku is mandatory for provisioning dedicated confluent cloud clusters

@somnair-pksd I don't maintain this repo :)

somnair-pksd

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@dmicic I do not

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Enable Schema Registry component

@Mongey Are you maintaining this repo as well? It would be a nice addition to the terraform package https://github.com/Mongey/terraform-provider-confluentcloud

dmicic

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Cku is mandatory for provisioning dedicated confluent cloud clusters

@Mongey are you accepting PRs?

somnair-pksd

comment created time in a month

pull request commentcgroschupp/go-client-confluent-cloud

Add SchemaRegistry and CloudMetadata APIs

Ah, haven't seen this one. Created a duplicate PR: https://github.com/cgroschupp/go-client-confluent-cloud/pull/11 😅 Would need this in your https://github.com/Mongey/terraform-provider-confluentcloud 🚀

Mongey

comment created time in a month

startedcgroschupp/go-client-confluent-cloud

started time in a month

PR opened cgroschupp/go-client-confluent-cloud

Enable Schema Registry component

Enable the ccloud schema registry component.

The schema registry component can be enabled only if the environment contains at least one cluster. The change is irreversible, therefore, no delete/update functions has been introduced.

+101 -0

0 comment

1 changed file

pr created time in a month

issue commentcgroschupp/go-client-confluent-cloud

Add api-key resource_type assignment based on verified conditions

Hi @rjudin, unfortunately I can't work on this right now. I'm not sure I got the issue, but I know that Confluent is changing lots of things on this matter and I think worth wait the official Confluent Cloud REST API version https://confluent.cloud/api/docs

rjudin

comment created time in a month

issue commentcgroschupp/go-client-confluent-cloud

Add api-key resource_type assignment based on verified conditions

@brunodomenici can you please help with that?

rjudin

comment created time in a month

issue openedcgroschupp/go-client-confluent-cloud

Add api-key resource_type assignment based on verified conditions

Issue

api-key should have Resource Type, otherwise empty value disallow access to specified resource

  • cloud - when created without cluster_id or logical_clusters parameters
  • kafka - when created with specified cluster_id or logical_clusters parameters

Action

Please add resource_type assignment based on verified conditions

Example

3 types of api keys [1] were created:

  • rj-tf-keys - via web https://confluent.cloud :: got type cloud - wide access to cloud resources (including env, clusters, topics, etc)
  • SA keys - via terraform resource [2] :: got type NULL - expected to grant access SA to the desired cluster
  • CLI-to-cluster - via cli cloud API key create [3] :: got type kafka - expected to grant access SA to the desired cluster

Verification:

create a topic at lkc-clus1 cluster:

  • rj-tf-keys - SUCCESS👍
  • SA keys - FAILED 😟
  • CLI-to-cluster - SUCCESS👍

[1]

c api-key list      
         Key         | Owner  |  Description   | Resource Type | Resource ID  
+--------------------+--------+----------------+---------------+-------------+
    MASKEDMASKED7EHE | 112494 | rj-tf-keys     | cloud         |              
    MASKEDMASKED7S2E | 124771 | SA keys        |               | lkc-clus1    
    MASKEDMASKED7TR3 | 124771 | CLI-to-cluster | kafka         | lkc-clus1

[2] terraform resource confluentcloud_api_key

resource "confluentcloud_api_key" "this" {
  description = "SA keys"

  environment_id = confluentcloud_environment.this.id
  cluster_id     = local.cluster_id
  user_id        = confluentcloud_service_account.this.id
}

[3] cli-reference c service-account list

Id | Name | Description
+--------+------------------+--------------------------+ 123456 | DEV-test-sa-test | DEV service account test

c api-key create --resource lkc-clus1 --service-account 123456 --description CLI-to-cluster

created time in 2 months

pull request commentcgroschupp/go-client-confluent-cloud

Add SchemaRegistry and CloudMetadata APIs

@Mongey could we please back on this? Eager to see schema-registry API at https://github.com/Mongey/terraform-provider-confluentcloud/issues/16

Mongey

comment created time in 2 months

pull request commentcgroschupp/go-client-confluent-cloud

Added cku (int) parameter

@cgroschupp and @Mongey please review and approve adding cku parameter

rjudin

comment created time in 2 months

issue commentcgroschupp/go-client-confluent-cloud

Add missed 'cku' to cluster.go

FYI: REST API ref https://confluent.cloud/api/docs#operation/createV2KafkaCluster (in beta state)

rjudin

comment created time in 2 months

PR opened cgroschupp/go-client-confluent-cloud

add cku

ref: https://github.com/cgroschupp/go-client-confluent-cloud/issues/6

+3 -1

0 comment

1 changed file

pr created time in 2 months

issue commentcgroschupp/go-client-confluent-cloud

Add missed 'cku' to cluster.go

@cgroschupp verbose output of

c kafka cluster create test0 --cloud aws --cku 1 --availability single-zone --region ap-southeast-1 --type dedicated -vvvv

produces post body

{
  "config": {
    "name": "test0",
    "accountId": "env-3hide",
    "region": "ap-southeast-1",
    "serviceProvider": "aws",
    "deployment": {
      "sku": "DEDICATED"
    },
    "cku": 1
  }
}

<details> <summary>Full output</summary>

2020-10-10T10:49:51.853+0200 [DEBUG] Getting available versions from https://s3-us-west-2.amazonaws.com/confluent.cloud?prefix=ccloud-cli/binaries/
2020-10-10T10:49:53.601+0200 [DEBUG] Token expired.
2020-10-10T10:49:53.606+0200 [DEBUG] UserService.CheckEmail request: GET https://confluent.cloud/api/check_email/rj@hidden_domain.com
2020-10-10T10:49:54.406+0200 [DEBUG] UserService.CheckEmail response: 200 OK Body: {"user":{"id":0,"email":"rj@hidden_domain.com","first_name":"","last_name":"","organization_id":0,"deactivated":false,"verified":null,"created":null,"modified":null,"password_changed":null,"service_name":"","service_description":"","service_account":false,"sso":{"enabled":false,"auth0_connection_name":"my-xyz-connection","tenant_id":"","multi_tenant":false},"preferences":{},"internal":false,"resource_id":""},"account":null,"organization":null,"error":null,"accounts":[]} request: GET https://confluent.cloud/api/check_email/rj@hidden_domain.com
2020-10-10T10:49:54.686+0200 [DEBUG] Token successfully updated with netrc file credentials.
2020-10-10T10:49:54.689+0200 [DEBUG] EnvironmentMetadataService.Get request: GET https://confluent.cloud/api/env_metadata
2020-10-10T10:49:54.889+0200 [DEBUG] EnvironmentMetadataService.Get response: 200 OK Body: {"error":null,"clouds":[{"id":"aws","regions":[{"id":"eu-north-1","cloud":"aws","zones":[{"name":"eu-north-1a","zone_id":"eun1-az1","id":"zone-148","region_id":"eu-north-1","sni_enabled":true,"schedulable":true,"created":"2020-09-22T18:55:36.932882Z","modified":"2020-09-22T18:55:36.932882Z","deactivated":null},{"name":"eu-north-1b","zone_id":"eun1-az2","id":"zone-149","region_id":"eu-north-1","sni_enabled":true,"schedulable":true,"created":"2020-09-22T18:55:36.932882Z","modified":"2020-09-22T18:55:36.932882Z","deactivated":null},{"name":"eu-north-1c","zone_id":"eun1-az3","id":"zone-150","region_id":"eu-north-1","sni_enabled":true,"schedulable":true,"created":"2020-09-22T18:55:36.932882Z","modified":"2020-09-22T18:55:36.932882Z","deactivated":null}],"name":"AWS Europe (Stockholm)","is_schedulable":false,"is_multizone_enabled":false,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":[],"high":[]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"ap-northeast-2","cloud":"aws","zones":[{"name":"ap-northeast-2a","zone_id":"apne2-az1","id":"zone-154","region_id":"ap-northeast-2","sni_enabled":true,"schedulable":true,"created":"2020-09-24T18:08:32.141593Z","modified":"2020-09-24T18:08:32.141593Z","deactivated":null},{"name":"ap-northeast-2b","zone_id":"apne2-az2","id":"zone-155","region_id":"ap-northeast-2","sni_enabled":true,"schedulable":true,"created":"2020-09-24T18:08:32.141593Z","modified":"2020-09-24T18:08:32.141593Z","deactivated":null},{"name":"ap-northeast-2c","zone_id":"apne2-az3","id":"zone-156","region_id":"ap-northeast-2","sni_enabled":true,"schedulable":true,"created":"2020-09-24T18:08:32.141593Z","modified":"2020-09-24T18:08:32.141593Z","deactivated":null},{"name":"ap-northeast-2d","zone_id":"apne2-az4","id":"zone-157","region_id":"ap-northeast-2","sni_enabled":false,"schedulable":true,"created":"2020-09-24T18:08:32.141593Z","modified":"2020-09-24T18:08:32.141593Z","deactivated":null}],"name":"ap-northeast-2 (Seoul)","is_schedulable":false,"is_multizone_enabled":false,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":[],"high":[]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"ap-southeast-1","cloud":"aws","zones":[{"name":"ap-southeast-1a","zone_id":"apse1-az2","id":"zone-33","region_id":"ap-southeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-southeast-1b","zone_id":"apse1-az1","id":"zone-34","region_id":"ap-southeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-southeast-1c","zone_id":"apse1-az3","id":"zone-35","region_id":"ap-southeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"ap-southeast-1 (Singapore)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"eu-central-1","cloud":"aws","zones":[{"name":"eu-central-1a","zone_id":"euc1-az2","id":"zone-3","region_id":"eu-central-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-central-1b","zone_id":"euc1-az3","id":"zone-4","region_id":"eu-central-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-central-1c","zone_id":"euc1-az1","id":"zone-5","region_id":"eu-central-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"eu-central-1 (Frankfurt)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY"]}}}},{"id":"ap-northeast-1","cloud":"aws","zones":[{"name":"ap-northeast-1a","zone_id":"apne1-az4","id":"zone-6","region_id":"ap-northeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-northeast-1c","zone_id":"apne1-az1","id":"zone-7","region_id":"ap-northeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-northeast-1d","zone_id":"apne1-az2","id":"zone-8","region_id":"ap-northeast-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"ap-northeast-1 (Tokyo)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"eu-west-3","cloud":"aws","zones":[{"name":"eu-west-3a","zone_id":"euw3-az1","id":"zone-9","region_id":"eu-west-3","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-3b","zone_id":"euw3-az2","id":"zone-10","region_id":"eu-west-3","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-3c","zone_id":"euw3-az3","id":"zone-11","region_id":"eu-west-3","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"eu-west-3 (Paris)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY"],"high":["VPC_PEERING","TRANSIT_GATEWAY"]}}}},{"id":"eu-west-2","cloud":"aws","zones":[{"name":"eu-west-2a","zone_id":"euw2-az2","id":"zone-15","region_id":"eu-west-2","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-2b","zone_id":"euw2-az3","id":"zone-16","region_id":"eu-west-2","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-2c","zone_id":"euw2-az1","id":"zone-17","region_id":"eu-west-2","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"eu-west-2 (London)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY"],"high":["VPC_PEERING","TRANSIT_GATEWAY"]}}}},{"id":"us-west-2","cloud":"aws","zones":[{"name":"us-west-2a","zone_id":"usw2-az2","id":"zone-36","region_id":"us-west-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-west-2b","zone_id":"usw2-az1","id":"zone-37","region_id":"us-west-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-west-2c","zone_id":"usw2-az3","id":"zone-38","region_id":"us-west-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-west-2d","zone_id":"usw2-az4","id":"zone-39","region_id":"us-west-2","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"us-west-2 (Oregon)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"eu-west-1","cloud":"aws","zones":[{"name":"eu-west-1a","zone_id":"euw1-az3","id":"zone-40","region_id":"eu-west-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-1b","zone_id":"euw1-az1","id":"zone-41","region_id":"eu-west-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"eu-west-1c","zone_id":"euw1-az2","id":"zone-42","region_id":"eu-west-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"eu-west-1 (Ireland)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"us-east-1","cloud":"aws","zones":[{"name":"us-east-1a","zone_id":"use1-az1","id":"zone-18","region_id":"us-east-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-1b","zone_id":"use1-az2","id":"zone-19","region_id":"us-east-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-1c","zone_id":"use1-az4","id":"zone-20","region_id":"us-east-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-1d","zone_id":"use1-az6","id":"zone-21","region_id":"us-east-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-1f","zone_id":"use1-az5","id":"zone-22","region_id":"us-east-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-1e","zone_id":"use1-az3","id":"zone-23","region_id":"us-east-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"us-east-1 (N. Virginia)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"ca-central-1","cloud":"aws","zones":[{"name":"ca-central-1a","zone_id":"cac1-az1","id":"zone-24","region_id":"ca-central-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ca-central-1b","zone_id":"cac1-az2","id":"zone-25","region_id":"ca-central-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ca-central-1d","zone_id":"cac1-az4","id":"zone-26","region_id":"ca-central-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"ca-central-1 (Canada)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY"]}}}},{"id":"us-east-2","cloud":"aws","zones":[{"name":"us-east-2a","zone_id":"use2-az1","id":"zone-43","region_id":"us-east-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-2b","zone_id":"use2-az2","id":"zone-44","region_id":"us-east-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-east-2c","zone_id":"use2-az3","id":"zone-45","region_id":"us-east-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"us-east-2 (Ohio)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"ap-southeast-2","cloud":"aws","zones":[{"name":"ap-southeast-2a","zone_id":"apse2-az3","id":"zone-27","region_id":"ap-southeast-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-southeast-2b","zone_id":"apse2-az1","id":"zone-28","region_id":"ap-southeast-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-southeast-2c","zone_id":"apse2-az2","id":"zone-29","region_id":"ap-southeast-2","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"ap-southeast-2 (Sydney)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"ap-south-1","cloud":"aws","zones":[{"name":"ap-south-1a","zone_id":"aps1-az1","id":"zone-30","region_id":"ap-south-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-south-1b","zone_id":"aps1-az3","id":"zone-31","region_id":"ap-south-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"ap-south-1c","zone_id":"aps1-az2","id":"zone-32","region_id":"ap-south-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"ap-south-1 (Mumbai)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"]}}}},{"id":"us-west-1","cloud":"aws","zones":[{"name":"us-west-1a","zone_id":"usw1-az3","id":"zone-1","region_id":"us-west-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"us-west-1b","zone_id":"usw1-az1","id":"zone-2","region_id":"us-west-1","sni_enabled":true,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"us-west-1 (N. California)","is_schedulable":false,"is_multizone_enabled":false,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":[],"high":[]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY","PRIVATE_LINK"],"high":[]}}}},{"id":"sa-east-1","cloud":"aws","zones":[{"name":"sa-east-1a","zone_id":"sae1-az1","id":"zone-12","region_id":"sa-east-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"sa-east-1b","zone_id":"sae1-az2","id":"zone-13","region_id":"sa-east-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null},{"name":"sa-east-1c","zone_id":"sae1-az3","id":"zone-14","region_id":"sa-east-1","sni_enabled":false,"schedulable":true,"created":"2020-04-22T17:28:52.440525Z","modified":"2020-04-22T17:28:52.440525Z","deactivated":null}],"name":"sa-east-1 (São Paulo)","is_schedulable":true,"is_multizone_enabled":true,"config":null,"schedulability":{"shared_network":{"shared_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]},"dedicated_cluster":{"low":["PUBLIC"],"high":["PUBLIC"]}},"dedicated_network":{"shared_cluster":{"low":[],"high":[]},"dedicated_cluster":{"low":["VPC_PEERING","TRANSIT_GATEWAY"],"high":["VPC_PEERING","TRANSIT_GATEWAY"]}}}}],"name":"Amazon Web Services","accounts":[{"id":"050879227952"},{"id":"439989760662"},{"id":"649317483566"}]}],"status":null,"schema_registry_locations":[{"id":"US","name":"US","cluster_id":"lkc-415jz","service_provider":""},{"id":"US","name":"US","cluster_id":"lkc-4v0kp","service_provider":"gcp"},{"id":"EU","name":"EU","cluster_id":"lkc-l52yn","service_provider":"aws"},{"id":"APAC","name":"APAC","cluster_id":"lkc-lz1k7","service_provider":"aws"},{"id":"EU","name":"EU","cluster_id":"lkc-41xyv","service_provider":"gcp"},{"id":"APAC","name":"APAC","cluster_id":"lkc-ldd1z","service_provider":"gcp"},{"id":"US","name":"US","cluster_id":"lkc-4njjv","service_provider":"azure"},{"id":"APAC","name":"APAC","cluster_id":"lkc-4jpp2","service_provider":"azure"},{"id":"EU","name":"EU","cluster_id":"lkc-4nj7v","service_provider":"azure"}]} request: GET https://confluent.cloud/api/env_metadata
2020-10-10T10:49:54.906+0200 [DEBUG] KafkaService.Create request: POST https://confluent.cloud/api/clusters Body:{"config":{"name":"test0","accountId":"env-3hide","region":"ap-southeast-1","serviceProvider":"aws","deployment":{"sku":"DEDICATED"},"cku":1}}
2020-10-10T10:49:56.105+0200 [DEBUG] KafkaService.Create response: 200 OK Body: {"error":null,"validation_errors":{},"cluster":{"id":"lkc-332vw","name":"test0","account_id":"env-3hide","network_ingress":50,"network_egress":150,"storage":30000,"durability":"LOW","status":"PROVISIONING","endpoint":"","region":"ap-southeast-1","created":"2020-10-10T08:49:55.763283Z","modified":"2020-10-10T08:49:55.766874Z","service_provider":"aws","organization_id":01010,"enterprise":true,"k8s_cluster_id":"k8s249","physical_cluster_id":"pkc-fake2","price_per_hour":"340315","accrued_this_cycle":"0","legacy_endpoint":false,"type":"kafka","api_endpoint":"","internal_proxy":false,"is_sla_enabled":true,"is_schedulable":false,"dedicated":true,"max_network_ingress":60,"max_network_egress":180,"deployment":{"id":"deployment-fake3","created":"2020-10-10T08:49:55.149762Z","modified":"2020-10-10T08:49:55.149762Z","deactivated":null,"account_id":"env-3hide","network_access":{"public_internet":[{"enabled":true,"network_config_id":"","allowed_cidr_blocks":[]}],"vpc_peering":[],"private_link":[],"transit_gateway":[],"internal":[]},"sku":"DEDICATED","network_region_id":"nr-938af","provider":{"cloud":"AWS","region":"ap-southeast-1","zones":[{"name":"ap-southeast-1a","zone_id":"apse1-az2","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null},{"name":"ap-southeast-1b","zone_id":"apse1-az1","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null},{"name":"ap-southeast-1c","zone_id":"apse1-az3","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null}]},"durability":"LOW","environment_id":"","dedicated":true},"cku":1,"network_region":null,"initial_network_type":"UNKNOWN_TYPE","selected_network_type":"UNKNOWN_TYPE","encryption_key_id":"","pending_cku":0,"is_expandable":false,"infinite_storage":false},"credentials":null,"transition_id":""} request: POST https://confluent.cloud/api/clusters Body:{"config":{"name":"test0","accountId":"env-3hide","region":"ap-southeast-1","serviceProvider":"aws","deployment":{"sku":"DEDICATED"},"cku":1}}
It may take up to 5 minutes for the Kafka cluster to be ready.
+--------------+----------------+
| Id           | lkc-332vw      |
| Name         | test0          |
| Type         | DEDICATED      |
| Ingress      |             50 |
| Egress       |            150 |
| Storage      |          30000 |
| Provider     | aws            |
| Availability | single-zone    |
| Region       | ap-southeast-1 |
| Status       | PROVISIONING   |
| Endpoint     |                |
| ApiEndpoint  |                |
| ClusterSize  |              1 |
+--------------+----------------+

</details>

cluster describe command

c kafka cluster describe lkc-fake4 -vvvv

produces an output body with much more details, including cluster.deployment.network_access object, which was requested at https://github.com/Mongey/terraform-provider-confluentcloud/issues/33 :

<details> <summary>body of cluster describe dedicated cluster</summary>

{
  "error": null,
  "cluster": {
    "id": "lkc-fake4",
    "name": "test0",
    "account_id": "env-3hide",
    "network_ingress": 50,
    "network_egress": 150,
    "storage": 30000,
    "durability": "LOW",
    "status": "UP",
    "endpoint": "SASL_SSL://pkc-fake2.ap-southeast-1.aws.confluent.cloud:9092",
    "region": "ap-southeast-1",
    "created": "2020-10-10T08:49:55.763283Z",
    "modified": "2020-10-10T08:49:55.766874Z",
    "service_provider": "aws",
    "organization_id": 01010,
    "enterprise": true,
    "k8s_cluster_id": "k8s249",
    "physical_cluster_id": "pkc-fake2",
    "price_per_hour": "340315",
    "accrued_this_cycle": "0",
    "legacy_endpoint": false,
    "type": "kafka",
    "api_endpoint": "https://pkac-fake1.ap-southeast-1.aws.confluent.cloud",
    "internal_proxy": false,
    "is_sla_enabled": true,
    "is_schedulable": false,
    "dedicated": true,
    "max_network_ingress": 60,
    "max_network_egress": 180,
    "deployment": {
      "id": "deployment-fake3",
      "created": "2020-10-10T08:49:55.149762Z",
      "modified": "2020-10-10T08:49:55.149762Z",
      "deactivated": null,
      "account_id": "env-3hide",
      "network_access": {
        "public_internet": [
          {
            "enabled": true,
            "network_config_id": "",
            "allowed_cidr_blocks": []
          }
        ],
        "vpc_peering": [],
        "private_link": [],
        "transit_gateway": [],
        "internal": []
      },
      "sku": "DEDICATED",
      "network_region_id": "nr-938af",
      "provider": {
        "cloud": "AWS",
        "region": "ap-southeast-1",
        "zones": [
          {
            "name": "ap-southeast-1a",
            "zone_id": "apse1-az2",
            "id": "",
            "region_id": "",
            "sni_enabled": null,
            "schedulable": null,
            "created": null,
            "modified": null,
            "deactivated": null
          },
          {
            "name": "ap-southeast-1b",
            "zone_id": "apse1-az1",
            "id": "",
            "region_id": "",
            "sni_enabled": null,
            "schedulable": null,
            "created": null,
            "modified": null,
            "deactivated": null
          },
          {
            "name": "ap-southeast-1c",
            "zone_id": "apse1-az3",
            "id": "",
            "region_id": "",
            "sni_enabled": null,
            "schedulable": null,
            "created": null,
            "modified": null,
            "deactivated": null
          }
        ]
      },
      "durability": "LOW",
      "environment_id": "",
      "dedicated": true
    },
    "cku": 1,
    "network_region": null,
    "initial_network_type": "UNKNOWN_TYPE",
    "selected_network_type": "UNKNOWN_TYPE",
    "encryption_key_id": "",
    "pending_cku": 0,
    "is_expandable": true,
    "infinite_storage": false
  }
}

</details>

<details> <summary>Full output</summary>

2020-10-10T11:03:21.484+0200 [DEBUG] Getting available versions from https://s3-us-west-2.amazonaws.com/confluent.cloud?prefix=ccloud-cli/binaries/
2020-10-10T11:03:23.312+0200 [DEBUG] KafkaService.Describe request: GET https://confluent.cloud/api/clusters/lkc-fake4?XXX_sizecache=0&account_id=env-3hide&id=lkc-fake4&name=
2020-10-10T11:03:24.075+0200 [DEBUG] KafkaService.Describe response: 200 OK Body: {"error":null,"cluster":{"id":"lkc-fake4","name":"test0","account_id":"env-3hide","network_ingress":50,"network_egress":150,"storage":30000,"durability":"LOW","status":"UP","endpoint":"SASL_SSL://pkc-fake2.ap-southeast-1.aws.confluent.cloud:9092","region":"ap-southeast-1","created":"2020-10-10T08:49:55.763283Z","modified":"2020-10-10T08:49:55.766874Z","service_provider":"aws","organization_id":34022,"enterprise":true,"k8s_cluster_id":"k8s249","physical_cluster_id":"pkc-fake2","price_per_hour":"340315","accrued_this_cycle":"0","legacy_endpoint":false,"type":"kafka","api_endpoint":"https://pkac-fake1.ap-southeast-1.aws.confluent.cloud","internal_proxy":false,"is_sla_enabled":true,"is_schedulable":false,"dedicated":true,"max_network_ingress":60,"max_network_egress":180,"deployment":{"id":"deployment-fake3","created":"2020-10-10T08:49:55.149762Z","modified":"2020-10-10T08:49:55.149762Z","deactivated":null,"account_id":"env-3hide","network_access":{"public_internet":[{"enabled":true,"network_config_id":"","allowed_cidr_blocks":[]}],"vpc_peering":[],"private_link":[],"transit_gateway":[],"internal":[]},"sku":"DEDICATED","network_region_id":"nr-938af","provider":{"cloud":"AWS","region":"ap-southeast-1","zones":[{"name":"ap-southeast-1a","zone_id":"apse1-az2","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null},{"name":"ap-southeast-1b","zone_id":"apse1-az1","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null},{"name":"ap-southeast-1c","zone_id":"apse1-az3","id":"","region_id":"","sni_enabled":null,"schedulable":null,"created":null,"modified":null,"deactivated":null}]},"durability":"LOW","environment_id":"","dedicated":true},"cku":1,"network_region":null,"initial_network_type":"UNKNOWN_TYPE","selected_network_type":"UNKNOWN_TYPE","encryption_key_id":"","pending_cku":0,"is_expandable":true,"infinite_storage":false}} request: GET https://confluent.cloud/api/clusters/lkc-fake4?XXX_sizecache=0&account_id=env-3hide&id=lkc-fake4&name=
+--------------+--------------------------------------------------------------+
| Id           | lkc-fake4                                                    |
| Name         | test0                                                        |
| Type         | DEDICATED                                                    |
| Ingress      |                                                           50 |
| Egress       |                                                          150 |
| Storage      |                                                        30000 |
| Provider     | aws                                                          |
| Availability | single-zone                                                  |
| Region       | ap-southeast-1                                               |
| Status       | UP                                                           |
| Endpoint     | SASL_SSL://pkc-fake2.ap-southeast-1.aws.confluent.cloud:9092 |
| ApiEndpoint  | https://pkac-fake1.ap-southeast-1.aws.confluent.cloud        |
| ClusterSize  |                                                            1 |
+--------------+--------------------------------------------------------------+

</details>

PS: Also noticed that network_access appears at the response body only - seems no way to post network_access with ProvateLink or PPCLinks so far.

rjudin

comment created time in 2 months

more