Skip to content

Commit 421b512

Browse files
author
Abdelhalim Dadouche
committed
content formatting
1 parent 6b4d1ca commit 421b512

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ The `cdk diff` command can be used to preview changes before deployment. This wi
4646
You can use [`npm link`](https://docs.npmjs.com/cli/v10/commands/npm-link) to develop with a local copy of this repo.
4747

4848
### In this library repo:
49+
4950
```bash
5051
npm install
5152
```
5253

5354
### In your-project folder:
55+
5456
```bash
5557
npm install
5658
npm link ../aws4embeddedlinux-ci
@@ -65,7 +67,6 @@ or [set a node prefix](https://docs.npmjs.com/resolving-eacces-permissions-error
6567
- When using AWS Cloud9 a micro instance type will run out of memory.
6668
- Deletion of stacks while a CodePipeline is running can lead to unexpected failures.
6769

68-
6970
## Security
7071

7172
See [SECURITY](SECURITY.md) for more information about reporting issues with this project.
@@ -79,10 +80,10 @@ source repos, etc.
7980
1. Grant access permissions to the CodeBuild pipeline project.
8081
11. Create a [Policy Statement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyStatement.html) which allows `secretsmanager:GetSecretValue` for your secret.
8182
11. Add this policy statement to the `buildPolicyAdditions` props for the `EmbeddedLinuxPipelineStack`. e.g.
83+
8284
```typescript
8385
import * as iam from "aws-cdk-lib/aws-iam";
8486

85-
8687
const pipeline = new EmbeddedLinuxPipelineStack(app, "MyPokyPipeline", {
8788
imageRepo: buildImageRepo.repository,
8889
imageTag: ImageKind.Ubuntu22_04,
@@ -100,6 +101,7 @@ const pipeline = new EmbeddedLinuxPipelineStack(app, "MyPokyPipeline", {
100101

101102
The secret can then be used in the CodeBuild Project by adding it to the BuildSpec. See
102103
the [CodeBuild Documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html) for more details.
104+
103105
```yaml
104106
env:
105107
secrets-manager:

0 commit comments

Comments
 (0)