Skip to content

Commit a61b117

Browse files
authored
Update structure-environments-across-aws-accounts.md
1 parent 6732764 commit a61b117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_chapters/structure-environments-across-aws-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ At first glance, this might just seem like a whole lot of extra work and you mig
1919

2020
Imagine that you (or somebody on your team) removes a DynamoDB table or Lambda function in your `serverless.yml` definition. Now, instead of deploying it to your _dev_ environment, you accidentally deploy it to _production_. This happens more often than you think!
2121

22-
To avoid mishaps like these, not every developer on your team should have access or direct access from their terminal to the _production_ environment. However, if all your environments are in the same AWS account, you need to carefully craft a detailed IAM policy to restrict/grant access to specific resources. This can be hard to do and you are likely to make mistakes.
22+
To avoid mishaps like these, not every developer on your team should have _write_ access from their terminal to the _production_ environment. However, if all your environments are in the same AWS account, you need to carefully craft a detailed IAM policy to restrict/grant access to specific resources. This can be hard to do and you are likely to make mistakes.
2323

2424
By keeping each environment in a separate account, you can manage user access on a per account basis. And for _dev_ environments you could potentially grant your developers _AdministratorAccess_ without worrying about the specific resources.
2525

0 commit comments

Comments
 (0)