Skip to content

Add an environment variable support for deploying to Connect Cloud #18681

Description

@mslynch

Problem Statement

Connect Cloud supports setting environment variables and deployments through its "secrets" feature. However, it's not possible to set secrets when deploying using the RStudio UI.

Proposed Behaviour

Environment variables should work just like they do for Connect. However, the documentation link for this needs to change (currently points to Connect docs at https://docs.posit.co/connect/admin/process-management/index.html#environment-variables):

Image

I think the documentation link is actually a bit confusing. It wasn't clear to me that immediately that I needed to use .Renviron to set the environment variables. Maybe this could be improved as well.

QA Notes

Verify that's when environment variables are present, they get set in Connect Cloud and when not present they are not unset, modified, or removed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions