Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

passthrough pipeline #64

Merged
merged 4 commits into from
May 2, 2019
Merged

passthrough pipeline #64

merged 4 commits into from
May 2, 2019

Conversation

rdoughty
Copy link
Contributor

@rdoughty rdoughty commented Apr 1, 2019

No description provided.

Copy link
Contributor

@SteveMattison SteveMattison left a comment

Choose a reason for hiding this comment

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

I see the word "Mellon" many times, particularly in the "manifest-passthrough-pipeline.yml" and "manifest-passthrough.yml" files. Since we intend to change the name from "Mellon" to "MARBLE" over the next few sprints, is it feasible to change any of these references now?

@rdoughty
Copy link
Contributor Author

@SteveMattison I took your advice and updated mellon to marble where I could. Some of the other changes will have to wait until when/if change existing repo names from mellon to marble(ex mellon-blueprints, mellon-app-infrastructure, etc)

Statement:
# Allow the role to create SSM resources specified by manifest-pipeline.yml
- Action:
- 'ssm:Delete*'
Copy link
Contributor

Choose a reason for hiding this comment

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

We're trying to use less wildcards on actions, so change this to the explicit list.

- !Sub "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter${AppConfigPathTest}/*"
Effect: Allow
- Action:
- 'lambda:*'
Copy link
Contributor

Choose a reason for hiding this comment

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

We're trying to use less wildcards on actions, so change this to the explicit list.

PassthroughUrl:
Type: String
Description: Primo passthrough url
PrimoApiKey:
Copy link
Contributor

Choose a reason for hiding this comment

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

Either add NoEcho: True or change this to expect an SSM parameter within AppConfigPath

PrimoApiKey:
Type: String
Description: Primo API key
PrimoSandboxApiKey:
Copy link
Contributor

Choose a reason for hiding this comment

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

Either add NoEcho: True or change this to expect an SSM parameter within AppConfigPath

CodeUri: passthrough/
Environment:
Variables:
PRIMO_API_KEY: !Ref PrimoApiKey
Copy link
Contributor

Choose a reason for hiding this comment

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

These are clear text in the env. It would be better to have your lambda read these things from AppConfigPath

Variables:
PRIMO_API_KEY: !Ref PrimoApiKey
PASSTHROUGH_URL: !Ref PassthroughUrl
PRIMO_SANDBOX_API_KEY: !Ref PrimoSandboxApiKey
Copy link
Contributor

Choose a reason for hiding this comment

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

These are clear text in the env. It would be better to have your lambda read these things from AppConfigPath

@rdoughty rdoughty requested a review from jgondron April 18, 2019 16:10
@rdoughty rdoughty requested a review from jonhartzler May 2, 2019 13:20
@rdoughty rdoughty merged commit 1a39365 into master May 2, 2019
@jgondron jgondron deleted the passthrough branch May 9, 2019 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants