aws-observability/amazon-managed-grafana-migrator

Tool is unable to identify service account that i created on Grafana server as well as AWS managed grafana.

parth741 opened this issue · 3 comments

As per the usage document of amazon-managed-grafana-migrator I am able to identify the AWS managed garafana via
#amazon-managed-grafana-migrator discover --region us-west-2

I have also created service account with below command-
#aws grafana create-workspace-service-account --workspace-id g-abcdef5678
--grafana-role ADMIN
--name grafana_migration

As soon as i execute migrate command i get below error-

Skipping API key creation for https://*****.com/

Creating service account token for service account grafana_migration

error: ValidationException: Invalid Service Account id: grafana_migration
{
RespMetadata: {
StatusCode: 400,
RequestID: "df3d54ae-d0e8-4509-b137-42c2668e3583"
},
Message_: "Invalid Service Account id: grafana_migration"
}

Migration command that am using is-
#amazon-managed-grafana-migrator migrate --src-url https://***.com/ --src-api-key glsa_T**************** --dst g-.grafana-workspace.us-west-2.amazonaws.com --dst-service-account-id grafana_migration

I have a question too, does this tool migrates the datasources configured passwords from source?

@bonclay7 does migration tool migrates the configured password of data sources from grafana server to AWS managed grafana?

@parth741 Which version are you migrating from, and to which version? If you're using version 8, you should first upgrade or migrate to Grafana version 9 instance. After successfully migrating to version 9, proceed with the upgrade to version 10. Please note that the commands differ slightly at each step.