addInstallationInstructions.tsx 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import {Fragment} from 'react';
  2. import ExternalLink from 'sentry/components/links/externalLink';
  3. import {t, tct} from 'sentry/locale';
  4. // TODO: Make dynamic for other platforms/integrations
  5. export default function AddInstallationInstructions() {
  6. return (
  7. <Fragment>
  8. <p>
  9. {tct(
  10. 'The automated AWS Lambda setup will instrument your Lambda functions with Sentry error monitoring and allow you to use tracing without any code changes. We use CloudFormation Stack ([learnMore]) to create the Sentry role which gives us access to your AWS account.',
  11. {
  12. learnMore: (
  13. <ExternalLink href="https://aws.amazon.com/cloudformation/">
  14. {t('Learn more about CloudFormation')}
  15. </ExternalLink>
  16. ),
  17. }
  18. )}
  19. </p>
  20. <p>
  21. {tct(
  22. 'Just press the [addInstallation] button below and complete the steps in the popup that opens.',
  23. {addInstallation: <strong>{t('Add Installation')}</strong>}
  24. )}
  25. </p>
  26. <p>
  27. {tct(
  28. 'If you don’t want to add CloudFormation stack to your AWS environment, press the [manual] button above instead.',
  29. {manual: <strong>{t('Manual')}</strong>}
  30. )}
  31. </p>
  32. </Fragment>
  33. );
  34. }