This repository was archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Error: Incorrect Usage while create Cloud Object Storage service #2
Copy link
Copy link
Open
Description
Hello all! I have to show all logs that have been generated by Flow Logs into IBM Log Analysis (LogDNA). I've run the step-by-step and I've faced couple issues.
When I run ./010-create-services.sh, it returns an error that the shell script is not updated to run correctly the ibmcloud resource service-instance-create command (just tried to run locally and on IBM Cloud Shell).
Steps to reproduce:
- Run
ibmcloud login --sso - Clone the source code
- Run
cp template.local.env local.env - Edit the local.env file to add all environment variables
- Run
source local.env - Run
./000-prereqs.sh - Run
./010-create-services.sh(ERROR)
Output:
~/Dev/o/vpc-flowlogs on master ?1 ./010-create-services.sh
Creating Cloud Object Storage Service...
FAILED
Incorrect Usage.
NAME:
service-instance-create - Create a service instance
USAGE:
ibmcloud resource service-instance-create NAME (SERVICE_NAME | SERVICE_ID) (SERVICE_PLAN_NAME | SERVICE_PLAN_ID) LOCATION [-d, --deployment DEPLOYMENT_NAME] [-p, --parameters @JSON_FILE | JSON_STRING ] [-g RESOURCE_GROUP] [--service-endpoints SERVICE_ENDPOINTS_TYPE] [--allow-cleanup] [--lock] [-q, --quiet]
OPTIONS:
-d value, --deployment value Name of deployment
-p value, --parameters value JSON file or JSON string of parameters to create service instance
-g value Resource group name
--service-endpoints value Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'.
--allow-cleanup Whether the service instance should be deleted (cleaned up) during the processing of a region instance delete call
--lock Whether to create the service instance with locked state
-q, --quiet Suppress verbose output
Although I still have an COS instance and a bucket for Flow Logs, I've been running step-by-step to understand the provisioning and set up process.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels