profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/s1mrankaur/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

s1mrankaur/aws-simple-cicd 0

This project aims to provide a serverless CI/CD platform leveraging native AWS services built using the AWS Cloud Development Kit (CDK).

s1mrankaur/serverless_KT 0

KT sessions for viewLinc cloud team

issue openedlerna/lerna

lenrna publish with --skip-git --skip-npm

What is lerna publish doing if we just skip both git and npm?

created time in 17 hours

issue commentserverless/serverless

allow sls rollback using commitId

@pgrzesik For now, we are thinking to just create the artifact with commitId in the path such as

serverless package --package PACKAGE_DIR PACKAGE_DIR will have servicename/version/commitId

sls deploy --package PACKAGE_DIR we may additionally consider tagging the artifacts stored in s3, and so at the time of rollback in cicd, we will deplo it from the known path by specifying the commitId/version.

Welcome any suggestions/improvements about this approach.

s1mrankaur

comment created time in 2 days

issue commentaws-amplify/amplify-js

cognito.user.signOut() does not invalidate tokens

@KristobalJunta @sethhitch Thanks. So with https://aws.amazon.com/about-aws/whats-new/2021/06/amazon-cognito-now-supports-targeted-sign-out-through-refresh-token-revocation/ - just the refresh token is revoked, the existing idToken and accessToken continue to be valid?

jiachen247

comment created time in 2 days

issue commentaws-amplify/amplify-js

cognito.user.signOut() does not invalidate tokens

@ramburg make sure that you have enabled token revocation for your user pool client(s). I didn't see the client-side calls until I did this.

https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html#enable-token-revocation

Hi @sethhitch How to verify if the option is enabled in the pool? From what I read, the option should be enabled by default.

jiachen247

comment created time in 5 days

issue commentaws-amplify/amplify-js

cognito.user.signOut() does not invalidate tokens

@ramburg came here looking for exactly this.

jiachen247

comment created time in 5 days

issue commentserverless/serverless

allow sls rollback using commitId

@pgrzesik Thanks for asking. Let's say we would like to trigger Automaticrollbacks in case the tests fail after deployment using sls rollback. Where do we get the timestamp from in the CI/CD if we would like to roll back to the last deployment? I understand I can list the last 5 timestamps but there doesn't seem to be a neat way to do it, especially in the case of microservices where we will be deploying multiple microservices with a single commit, so if had to rollback all microservices deployed, we could just get last commit id and execute sls rollback -commitId , with timestamp it just doesn't seem neat. especially because different microservices deployed through the same commit may have different timestamps. when halfway through and the deployment for the 3rd service fails, we would like to roll back services that have been deployed so far through the particular deployment - identifying them using the commitId would be a lot simpler or to have to go back to any deployment in the past for that matter

s1mrankaur

comment created time in 8 days

issue openedserverless/serverless

allow sls rollback using commitId

Add commitId as tags to the artifacts. Whensls rollbackis to be executed, allow it to use commitId instead of timestamp.

The timestamp used for sls rollback is not useful in CI/CD at all

created time in 9 days

issue openedsemantic-release/semantic-release

Semantic release workflow with branch per environment stratergy

In the CI-CD process, how(and when) does version bump happen? If directly merging through bitbucket/GitHub dashboard, then how to bump the version right before the merge? We won't do it after the merge because the CICD pipeline starts as soon as there is a change detected in the pipeline, and if a version bump was happening through the pipeline, it will just end up in a loop.

we have develop, staging, and master branches. We do not wish to introduce new branches- just feels like a disruption and not so continuous.

when and where should the version be bumped so that when the staging branch is merged into master- the version in the master is bumped as part of the same commit to avoid triggering the pipeline twice.

created time in 22 days

issue openedlerna/lerna

When is the right point to execute lerna version command

  1. We use CodePipeline/code build for CI/CD with a pipeline per branch strategy.
  2. We merge pull requests by using the merge button on the bitbucket dashboard.
  3. Respective Pipeline is triggered when code is merged from feature branch -> develop or develop -> staging , or staging -> ,master. The trigger for the pipeline is code change so it gets triggered as soon as there is a change in the remote branch.

I am looking to execute the following command:

lerna version --conventional-commits --no-commit-hooks --amend --yes but the push to bitbucket will trigger the pipeline again.

When do I execute it without making the code pipeline run into the endless loop?

I understand there is --no-push argument but that will mean we never push the updated version to remote branch.

I would have added it to pre-push hook but we are merging by hitting the merge button on bitbucket cloud.

created time in 22 days

issue openedaws/aws-cdk

(Snyk): CodePipeline integration with Snyk

How to use CDK to have Snyk as a target action that is now available as an Action directly in CodePipeline as shown here: https://snyk.io/blog/automate-vulnerability-scanning-in-aws-codepipeline-with-snyk/

created time in 24 days

issue openedawslabs/aws-simple-cicd

Rollback support in case of a failure

How to support rollback in case of a failure?

created time in a month

issue openedsnyk/serverless-snyk

Support for Snyk Iac?

  • Does this not have Support for Snyk Iac?
  • Is that in the roadmap? or are there any workarounds for it?

created time in a month

issue openedpinojs/pino-arborsculpture

where to create the /tmp/adjustments.json and how to edit it for lambda functions that are running

how will this file be edited? I am not too sure. Lambda methods get zipped and deployed, how can I go in and change this tmp file?

created time in a month

issue openedmonitoringartist/grafana-aws-cloudwatch-dashboards

Metric request error in AWS Cognito grafana template

I am able to select user pools in the select box. I always see "None" for pool clients and IdentityProvider (which is okay).

But I am constantly seeing - Metric request error for all 4 graphs in Cognito grafana template. How can I fix this?


Metric request error
Object
status:500
statusText:""
data:Object
message:"Metric request error"
config:Object
method:"POST"
url:"api/ds/query"
data:Object
retry:0
headers:Object
hideFromInspector:false
message:"Metric request e
```rror"

created time in 2 months

issue commentmonitoringartist/grafana-aws-cloudwatch-dashboards

aws-cognito

@jangaraj can you share where should the values (user pool, user client, and identityPooolId) be fetched from on AWS dashboard and if those are mandatory.

Here's a snapshot. I tried passing "*" https://ibb.co/ynmntvF

I keep getting

Object status:500 statusText:"" data:Object message:"Metric request error" config:Object method:"POST" url:"api/ds/query" data:Object retry:0 headers:Object hideFromInspector:false message:"Metric request error"

have tried giving admin access as well so not a permissions issue.

ksanjay7

comment created time in 2 months

issue commentaws-amplify/amplify-js

Cognito Advanced Security feature support in React Native apps

Do we need to include that file explicitly when using amplify with react? @anandwahed

walshj19

comment created time in 2 months

issue openedaws/aws-sdk-js

s3 interface initialization inside or outside the function

Confirm by changing [ ] to [x] below:

We currently have

export function s3Call(action: string, params: any): Promise<any> {
const s3 = new AWS.S3();
return s3[action](params).promise();
}

I tried to change it to

    const s3 = new AWS.S3();
    export function s3Call(action: string, params: any): Promise<any> {
    return s3[action](params).promise();
    }

but on running the unit test, ran into the following error

> failed to get the current sub/segment from the context new s3 enter image description here

The unit test itself is pretty simple:


    describe("uploadImage tests", () => {
    it("should return correct image url", async () => { process.env.IMAGE_UPLOAD_BUCKET_NAME = 'TestBucket'; process.env.AWS_REGION = 'us-west-2';
    const putObject = jest.fn().mockImplementation(() => Promise.resolve({})); AWSMock.mock('S3', 'putObject', putObject);
    const bucketUrl = https://${process.env.IMAGE_UPLOAD_BUCKET_NAME}.s3-${process.env.AWS_REGION}.amazonaws.com/; 
    const result = await uploadImage(imageData, bucketUrl); expect(result).toContain(process.env.IMAGE_UPLOAD_BUCKET_NAME); expect(result).toContain(process.env.AWS_REGION); AWSMock.restore('S3');   }); });

How can the s3 interface be initialized once? and why do we see this error once when s3 initialization is taken out of the function?

created time in 2 months

issue commentaws-amplify/amplify-js

API Gateway Websockets Support

any update on this feature request?

alpeshgaglani

comment created time in 2 months

issue commentserverless/serverless

AWS API Gateway: Error when renaming path variable

It is so important, Disappointing to not have it addressed yet.

matheusvellone

comment created time in 3 months

issue openedFormidableLabs/pino-lambda

How to sample x% debug logs

We are able to add co-relationIds to our requests using this module.

  1. How can it be used to sample debug logs in production?
  2. How can we enable debug logging dynamically?

created time in 3 months