Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command amplify add function in Headless Mode #13557

Open
2 tasks
gunsleobezerra opened this issue Jan 25, 2024 · 1 comment
Open
2 tasks

Command amplify add function in Headless Mode #13557

gunsleobezerra opened this issue Jan 25, 2024 · 1 comment
Labels
feature-request Request a new feature functions Issues tied to the functions category headless Headless mode for CI/CD

Comments

@gunsleobezerra
Copy link

gunsleobezerra commented Jan 25, 2024

Is this feature request related to a new or existing Amplify category?

function

Is this related to another service?

No response

Describe the feature you'd like to request

I'm working with AWS Amplify and looking for a way to automate the "amplify add function" command, ideally in a headless or scriptable format. My goal is to integrate this into a larger automation script. Unfortunately, it seems that the Amplify CLI does not natively support headless mode for this particular command.

Is there any known workaround or alternative method to achieve this? Any suggestions or guidance on how to approach this automation would be very helpful.

image

Describe the solution you'd like

i don't have any solution !

Describe alternatives you've considered

I tried to use python to interact with console and walk trought to the steps but isn't works and i got many bugs! If exist any solution with AWS SDK please give to me , because it's solve my problem better than amplify CLI.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change
@gunsleobezerra gunsleobezerra added the pending-triage Issue is pending triage label Jan 25, 2024
@ykethan
Copy link
Member

ykethan commented Jan 25, 2024

Hey, 👋 thanks for raising this! Marking as feature-request. Unfortunately, you will need to script out the file creation and references in the backend-config.json and team-provider-info.json to automate the creation process(https://github.com/aws-amplify/amplify-cli/tree/dev/packages/amplify-category-function). But I would suggest throughly testing this in your test environment.

@ykethan ykethan added headless Headless mode for CI/CD functions Issues tied to the functions category and removed pending-triage Issue is pending triage labels Jan 25, 2024
@josefaidt josefaidt added the feature-request Request a new feature label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature functions Issues tied to the functions category headless Headless mode for CI/CD
Projects
None yet
Development

No branches or pull requests

3 participants