GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace require.Equal with require.ElementsMatch by sonofachamp · Pull Request #31 · aws/copilot-cli

This repository was archived by the owner on Jun 22, 2026. It is now read-only.

Conversation

@sonofachamp

@sonofachamp sonofachamp commented Sep 9, 2019

Copy link
Copy Markdown
Contributor

Issue #, if available:
#23
Description of changes:
Use require.ElementsMatch to handle non-deterministic ordering.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Nick Fischer
Replace require.Equal with require.ElementsMatch
b55bd06
@sonofachamp
sonofachamp requested review from efekarakus and kohidave September 9, 2019 21:31
kohidave
kohidave approved these changes Sep 10, 2019
View reviewed changes

@kohidave kohidave left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Oh nice find. Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sonofachamp
sonofachamp merged commit f79d324 into aws:master Sep 10, 2019
@sonofachamp
sonofachamp deleted the bug/issue23-random-test-failure branch September 10, 2019 16:14
mergify Bot pushed a commit that referenced this pull request Jun 1, 2020
@iamhopaul123
fix(docker): docker build failed when multiple Dockerfile in one dir (#…
ce5d2d9
…980)

<!-- Provide summary of changes -->
Fix #979
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 2, 2020
@iamhopaul123
feat(stack): add general sidecar deployment support (#978)
dd65a89
<!-- Provide summary of changes -->
Add general sidecar support for svc deployment. With this change now users can configure sidecar in their manifest then do `svc deploy` to deploy their service with sidecar containers. 

Manual test pass (deployed a service with nginx as a sidecar container).

Next step is to add Firelens deployment and lastly add e2e tests for this feature.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 3, 2020
@bvtujo
feat(storage): Add temporary execute method to storage init (#990)
e58a93f
Adds execute method which renders user inputs into cloudformation template in addons dir.

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->
addresses #769 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 3, 2020
@seongm-1
feat: parse healthcheck in dockerfile (#971)
5b87893
<!-- Provide summary of changes -->
The ability to parse Healthcheck options from a user's dockerfile.

Also added, some of Moby buildkit packages for ease of parsing dockerfile. 

https://godoc.org/github.com/moby/buildkit/frontend/dockerfile/parser
https://godoc.org/github.com/moby/buildkit/frontend/dockerfile/instructions


<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->
Addresses #938

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.


Binary Size (added Mobykit parsers)
Before: 44.2 MB
After: 44.4 MB
mergify Bot pushed a commit that referenced this pull request Jun 4, 2020
@bvtujo
feat(storage): Add dynamoDB Cloudformation templates (#993)
098e612
<!-- Provide summary of changes -->
This PR adds the cloudformation template necessary to create DDB tables on behalf of customers in storage init. 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->
Addresses #769 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 6, 2020
@bvtujo
fix(docker): Fix failing end to end tests (#997)
ed3127e
<!-- Provide summary of changes -->
With #980, we fixed an issue which occurred when there were multiple dockerfiles present in the build directory. 

However, this may have broken our end to end tests, because the call to Docker was formatted as the following:

```sh
docker build -t <imageTag> path/to -f Dockerfile
```

This should be fine, but the end to end tests began to fail on Monday with the following output:
```bash
addons flow when deploying svc
  svc deploy should succeed
  /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:145
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /github.com/aws/amazon-ecs-cli-v2/e2e/addons/Dockerfile: no such file or directory
Error: build Dockerfile at ./hello/Dockerfile with tag gallopinggurdey: building image: exit status 1
```
This indicates that although the Dockerfile path was set to `hello/Dockerfile`, Docker was looking for the file somewhere in the root directory of that path (.) and subsequently failing. 

This fix always sets the dockerfile path to be relative to the *root* of the docker build context, not the *leaf* of the build context. 

(previously we were parsing paths like `path/to/dockerfile` into `path/to` and `dockerfile`, assuming that the dockerfile would be searched for in `path/to`, not `path`. This was incorrect.)

The new behavior is to call:
```sh
docker build -t <imageTag> path/to -f path/to/dockerfile
```



<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 8, 2020
@iamhopaul123
feat(stack): add Firelens sidecar deployment support (#992)
1765c00
<!-- Provide summary of changes -->
Partially address #875. With this PR now we can deploy a Copilot service with Firelens as the log driver to deliver logs of the main container to destinations.

Users can config Firelens in two ways:

1. Set up configurations in the manifest (unable to sent to multiple destinations though).
2. Configure using fluentbit config file. Note that this requires users to build their own custom fluentbit image and specifying their config file path.

Additionally users might need to add permissions to task role if necessary. And they are able to add their own permissions by using Copilot addons feature. Any addons policy will be added to the task role.

This PR also adjusts `svc logs` to accommodate Firelens changes.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 11, 2020
@iamhopaul123
chore(e2e): add e2e tests for sidecars (#1011)
165c106
<!-- Provide summary of changes -->
Fixes #1008.

(I'm gonna rest in peace. Put the e2e test log on my grave and don't include any PR reviews other than LGTM)
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 12, 2020
@bvtujo
feat(storage): Add ask templates for DDB to storage init (#991)
f1d3494
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 15, 2020
@iamhopaul123
fix(cli): env ls should work if not in copilot dir (#1021)
5f24300
<!-- Provide summary of changes -->
Fixes #1004.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 17, 2020
@bvtujo
feat(storage): Add new storage classes in addons to enable template e…
49aca85
…xecution. (#1025)

This PR completes the implementation of `storage init`'s Execute() method. 
Notable changes:
* Adds S3 and DynamoDB structs to the addons package which behave similarly to those in the `manifest.LoadBalancedWebService` and `manifest.BackendService` structs. 
* Leverages the new AddonsWriter interface (with tiny modification) in `workspace` to enable template parsing for DDB and S3.
* Resolves several typos in the DDB template which would have rendered it undeployable

Unit tests forthcoming. 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 19, 2020
@iamhopaul123
fix(cli): fix svc show log output when no svc found (#1038)
b29a819
<!-- Provide summary of changes -->
Quick fix to get rid of the unexpected period at the end of the log output when there's no service found in the app.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 20, 2020
@bvtujo
fix(storage): Use template functions for LogicalID and Env Var names (#…
7cb56c0
…1035)

<!-- Provide summary of changes -->
This PR adds template functions to the storage resource CF templates. We now 
only need to specify a resource name to the DynamoDB and S3 types, and 
template functions StorageLogicalIDSafe and EnvVarName will properly construct
CF resource names and Env Vars. 

This PR also reorganizes and renames some common go template functions that 
previously lived in the "deploy/cloudformation/stack" package, moving them to the
"template" package.

Finally, it changes the implementation of ToSnakeCase to better match StringsWithUPPERCase
(now renders as "STRINGS_WITH_UPPER_CASE" instead of "STRINGS_WITH_U_P_P_E_R_CASE")
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 22, 2020
@bvtujo
fix(storage): Remove "attribute" concept from UX (#1037)
ca616f6
<!-- Provide summary of changes -->
This PR removes the notion of an Attribute from the UI of `copilot storage init`. 

Previously, customers could specify extra attributes via the `--att` flag which they could specify for use in Local Secondary Indices. This is problematic, however, because DynamoDB does not allow unused attributes to be written in the CF template and this would cause the addons stack deployment to fail. 

Removing "attribute" as a customer facing concept simplifies the user experience by only asking for "alternate sort keys/LSIs" and allows us to avoid complex validation issues which arise when extra attributes are specified. 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 22, 2020
@bvtujo
chore(copilot): Remove separate 'addons' group from help menu (#1046)
f09b968
This command removes the orphaned "Addons" group from the `copilot -h` help menu. 
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 24, 2020
@Lou1415926
feat(cli): implement ask for task run (#1036)
75d7715
This PR has two major changes:  1. add ask to task run;  2. add a required flag for task-family name, update validate and ask correspondingly 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->
Related #702 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 24, 2020
Hsing-Hui Hsu
test(describe): fix flaky pipeline show test (#1048)
6f05c60
Related: #918

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 26, 2020
Hsing-Hui Hsu
refactor: use timestamps for struct fields (#1050)
8ad9bbe
<!-- Provide summary of changes -->
Previously, we were converting timestamps into int64 types on Status structs. This change preserves the timestamp fields in time format, which makes timestamp fields in the JSONString output consistent with other JSON payloads (e.g. pipeline_show). It also simplifies the HumanString output logic.

This also includes a refactor of timestamps on Pipelines to use values rather than pointers.

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 26, 2020
@bvtujo
fix(cli): Correctly set NoLSI field when askDynamoLSIConfig returns f…
f2d95e1
…alse (#1057)

<!-- Provide summary of changes -->
This change solves an issue where if a customer selected "No" when asked "Would you like to add any alternate sort keys to this DynamoDB table?", the `noLsi` option was not properly set and an erroneous line was injected into the CF template. 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jun 29, 2020
@bvtujo
feat(cli): Use workspace selector instead of service selector in stor…
97483c9
…age init (#1063)

<!-- Provide summary of changes -->
This PR changes `storage init` to use the WorkspaceSelector instead of the Application-wide ServiceSelector. 

Addresses #1054 
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 2, 2020
@iamhopaul123
feat(deploy): add svc deployment info query APIs (#1074)
0fe712c
<!-- Provide summary of changes -->
Partially address #1069. Add service deployment info APIs to `deploy` pkg.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 7, 2020
@iamhopaul123
fix(describe): use new deploy store API to improve Describe (#1090)
251c52a
<!-- Provide summary of changes -->
Part of #1069. Fixes #1003.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 8, 2020
@kohidave
docs: add homebrew install directions (#1098)
acfd675
Add homebrew install directions

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 8, 2020
@kohidave
docs: homebrew install directions (#1100)
fc4e731
Update the docs with homebrew instructions. 
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 15, 2020
@iamhopaul123
refactor(describe): apply new store apis on env show (#1142)
e3fa88d
<!-- Provide summary of changes -->
Last piece of #1069.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 15, 2020
@bvtujo
fix(cli): unhide storage and storage init commands. (#1147)
65728e6
<!-- Provide summary of changes -->
This PR sets storage commands to visible and fixes a docstring.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 16, 2020
@kohidave
fix: HTTPS Params in "svc package" was always false (#1150)
741ce8d
We were missing an else bracket to our if statement
so LB Web Apps were always marked as not HTTPS because
the HTTPS Struct was being redefined.

Note, we need to add some tests for this 100%.


## Manual tests
This is for an app that uses HTTPS: 
`copilot svc package --output-dir infra`

Before:

```json
{
  "Parameters" : { 
    ...
    "HTTPSEnabled": "false"
  },
  "Tags": { 
    ...
  }
}
```

After:

```json
{
  "Parameters" : { 
   ...
    "HTTPSEnabled": "true"
  },
  "Tags": { 
    ...
  }
}
```
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 16, 2020
@iamhopaul123
fix(cli): app init not check domain name if flag not set (#1156)
d244f98
<!-- Provide summary of changes -->
fixes #1148 
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 20, 2020
@chenrui333
chore(deps): fix ts-jest peer-dep issue with jest (#1163)
3ebc845
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Trying to fix the build issue encountered in the Homebrew/homebrew-core#57937
```
npm WARN [email protected] requires a peer of jest@>=24 <25 but none is installed. You must install peer dependencies yourself.

audited 823 packages in 9.037s

11 packages are looking for funding
  run `npm fund` for details
```
mergify Bot pushed a commit that referenced this pull request Jul 20, 2020
@chenrui333
chore(build): use go1.14.x (#1164)
f6672cd
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.


Bump build go build runtime to latest release series, go1.14.x
mergify Bot pushed a commit that referenced this pull request Jul 20, 2020
@Lou1415926
chore(cli): modify flags for task run (#1168)
0ce743e
This PR modifies flags defined previously for task run, including:
1. fixing the variable type for `--command` flag and `--subnets` flag
2. fixing variable naming
3. fixing flag description: removing "Default to ..." at the end of the flag descriptions because cobra will automatically append a description of the default values at the end

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 21, 2020
@iamhopaul123
chore(deploy): enhance performance for API (#1170)
4e32d78
<!-- Provide summary of changes -->
Fixes #1138. Enhance performance for `ListEnvironmentsDeployedTo` by running `GetResourcesByTags` in parallel.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 22, 2020
@iamhopaul123
chore(makefile): add -race when building and testing (#1182)
24b9d50
<!-- Provide summary of changes -->
Add -race flag when building and testing to catch data race issues.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 22, 2020
@Lou1415926
chore(cli): deploy and update task resources for task run (#1176)
a136b03
This PR implements `Execute` for `task run`

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 24, 2020
@tam0ri
docs: correct option name for example command. (#1189)
8426b99
current: $ copilot svc init --name frontend **--app-type** "Load Balanced Web Service" --dockerfile ./frontend/Dockerfile
suggest: $ copilot svc init --name frontend **--svc-type** "Load Balanced Web Service" --dockerfile ./frontend/Dockerfile

--app-type option does not exist. --svc-type is correct.

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 27, 2020
@iamhopaul123
perf(makefile): remove -race for go build (#1197)
2e43aba
<!-- Provide summary of changes -->
Remove -race from go build because it could increase memory usage by 5-10x and execution time by 2-20x. https://golang.org/doc/articles/race_detector.html#Runtime_Overheads
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 28, 2020
@Lou1415926
chore: add flag for task run execution role and remove default task…
ba02b02
… role from cfn template (#1196)

This PR contains the following changes:
1. allowing user to specify a specific `execution-role` for `task run`
2. removing `DefaultTaskRole` from task's cfn template since it doesn't require a task role in order to run a task

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 30, 2020
@kohidave
feat: ARM64 build target for linux (#1208)
86ac9de
This change produces ARM binaries for Linux. We can't enable
the same for our darwin builds right now since go assumes that
darwin/arm64 is an iOS target:
golang/go#38485

This fixes #1058

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Jul 31, 2020
@iamhopaul123
chore(ec2): add ListVpcSubnets method and pagination (#1210)
88a2910
<!-- Provide summary of changes -->
Part of #1192.
1. Add `ListVpcSubnets` to list all subnets given a VPC ID.
2. Add pagination when calling `DescribeSubnets` so that we won't miss results in following pages.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 1, 2020
@iamhopaul123
feat(deploy): add env resources import/adjust (#1204)
850c3fb
<!-- Provide summary of changes -->
part of #1192.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 4, 2020
@Lou1415926
chore: update task run to use manager roles and update manager perm…
fc1f917
…issions (#1212)

This PR contains the following changes:
1. Update environment manager role's permission in support of `task run`
2. Update `task run` to use environment manager

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Louise15926 pushed a commit to Louise15926/amazon-ecs-cli-v2 that referenced this pull request Aug 5, 2020
@iamhopaul123 @Lou1415926
feat(deploy): add env resources import/adjust (aws#1204)
e1204ee
<!-- Provide summary of changes -->
part of aws#1192.
<!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 6, 2020
@iamhopaul123
chore(cli): enable customized env resources by flags (#1232)
340cf3e
<!-- Provide summary of changes -->
Part of #1192. Enable customized env resources by flags. UI change to env init is not included.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 11, 2020
@iamhopaul123
feat(cli): enable customized env resources while initialization (#1243)
e9e3114
<!-- Provide summary of changes -->
Last part of #1192. Update `env init` UI to enable create customized env resources in an interactive way.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 12, 2020
@iamhopaul123
fix(e2e): broken due to customized env resources (#1258)
54dee7a
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 12, 2020
@iamhopaul123
fix(cli): remove env init redundant prompt (#1262)
ed6c723
<!-- Provide summary of changes -->
This PR fixes `env init` by removing redundant prompt that asks users to select if they'd like to adjust/import/use default, even if users have already specified any of import/config flag set.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 13, 2020
@iamhopaul123
chore(cli): change env init selection order and default flag change (#…
1851c10
…1265)

<!-- Provide summary of changes -->
This PR
1. Change the selection order in env init.
2. Update default flag in env init from `--no-customized-env` to `--default-config`

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 13, 2020
@iamhopaul123
test(e2e): fix broken env init e2e test due to flag name change (#1266)
27ecf7c
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 14, 2020
@iamhopaul123
test(e2e): clean redundant task stack for task e2e test (#1267)
35679bb
<!-- Provide summary of changes -->
Currently our task e2e test doesn't delete the task stack after running the task e2e test. And the task stack is very difficult to remove because the CFN Execution Role that used to manage the task stack is deleted when we delete copilot environment.  Also, the remaining task stacks piles up in our Copilot pipeline account.

This PR fixes this issue by removing task stack before we delete copilot app/env.
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 17, 2020
@kohidave
chore: lower Service Discovery DNS TTL (#1282)
0a23cea
This lowers the service discovery down from 1min to 10s. This value is how long a IP address is cached. While we wait for aws/containers-roadmap#343 to be resolved, we can lower the value to 10seconds. The longer this value is, the longer a service might fail to call another service due to a bad cache value.

fixes #1173

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 17, 2020
@bvtujo
chore(storage): update unit test output to match input options (#1284)
d3801ba
<!-- Provide summary of changes -->
Previously, unit test mocks for `Ask()` returned values like "KeyName:S" when prompting for a partition key, sort key, or alternate sort key. This unit test updates the tests to match the actual behavior of the CLI. 

It also expands unit test coverage of the validate() method to ensure errors are correctly caught. 

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 18, 2020
@iamhopaul123
test(e2e): add e2e test for customized resources (#1264)
b57b233
This PR adds e2e test for customized env resources.

<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 19, 2020
@iamhopaul123
chore(e2e): separate bash commands to client pkg (#1297)
ce24079
<!-- Provide summary of changes -->
Move bash commands in e2e tests to `client` pkg so as to make e2e tests more declarative. Address #1264 (comment).
<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify Bot pushed a commit that referenced this pull request Aug 21, 2020
@bvtujo
chore: add e2e suite for extended svc configurations (#1302)
35190e4
Adds a new test suite exercising the docker build arg overrides. Deploys a service with a default env variable of "open caraway" and only succeeds if the manifest correctly overrides "open caraway" to "open sesame"

<!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" -->

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@efekarakus efekarakus Awaiting requested review from efekarakus
1 more reviewer
@kohidave kohidave kohidave approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@sonofachamp @kohidave
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.