fast-easter-23401
08/17/2022, 12:22 PMconst topic = new KafkaTopic(
args.name,
{
topicName: args.name,
kafkaCluster: { id: cluster.id },
restEndpoint: cluster.restEndpoint,
credentials: {
key: clusterSA.apiKey.name,
secret: clusterSA.apiKey.secret,
},
},
{ parent: this }
);
Type Name Status Info
pulumi:pulumi:Stack confluent-test **failed** 1 error; 2 messages
└─ nesto:kafka test
+ ├─ confluentcloud:index:KafkaTopic test **creating failed** 1 error
+ └─ confluentcloud:index:RoleBinding test-environment-admin **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (confluent-test):
2022/08/17 08:19:24 [DEBUG] POST <https://pkc-41voz>.<region>.gcp.confluent.cloud:443/kafka/v3/clusters/<cluster-id>/topics
error: update failed
confluentcloud:index:KafkaTopic (test):
error: 1 error occurred:
* error creating Kafka Topic: 401 Unauthorized: Unauthorized
I also tried it creating a Provider resource, then passing the latter as opts
. Didn’t work either.
Any insights will be greatly appreciated.
Have a nice day,