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

add mountPoints to Service #1240

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

add mountPoints to Service #1240

wants to merge 4 commits into from

Conversation

zvictor
Copy link
Contributor

@zvictor zvictor commented Oct 10, 2024

platform/src/components/aws/cluster.ts Outdated Show resolved Hide resolved
platform/src/components/aws/cluster.ts Outdated Show resolved Hide resolved
Comment on lines +982 to +1006
/**
* The mount points for the data volumes in your container.
* This parameter maps to Volumes in the creat-container Docker API and the `--volume`
* option to docker run.
*
* Windows containers can mount whole directories on the same drive as `$env:ProgramData`.
* Windows containers cannot mount directories on a different drive, and mount points
* cannot be used across drives. You must specify mount points to attach an Amazon EBS
* volume directly to an Amazon ECS task.
*/
mountPoints?: {
/**
* The name of the volume to mount.
*/
sourceVolume: Input<string>;

/**
* The path in the container where the volume will be mounted.
*/
containerPath: Input<string>;
/**
* If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
*/
readOnly?: Input<boolean>;
}[];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should I copy this block to top-level ServiceArgs?

@jayair
Copy link
Contributor

jayair commented Oct 11, 2024

I see your other PR as well. Maybe we should reopen your old issue and link these there.

@bjornlll
Copy link

bjornlll commented Oct 15, 2024

Amazing! Any chance this might get merged soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants