Skip to content

Commit

Permalink
update readme for deployment_user_arn
Browse files Browse the repository at this point in the history
  • Loading branch information
fillup committed Jan 2, 2020
1 parent 8df1788 commit f6286ea
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ supports S3 redirects. This module helps keep setup consistent for multiple Hugo
- `aliases` - A list of hostname aliases for CloudFront to listen on
- `bucket_name` - Name of bucket to use, must be globally unique
- `cert_domain` - Domain name on existing Amazon Certificate Manager certificate to use with CloudFront
- `deployment_user_arn` - ARN to a user to be given permission to put objects into the bucket

## Optional Inputs

Expand All @@ -31,17 +32,18 @@ supports S3 redirects. This module helps keep setup consistent for multiple Hugo

```hcl
module "hugosite" {
source = "github.com/fillup/terraform-hugo-s3-cloudfront"
aliases = ["www.domain.com", "domain.com"]
bucket_name = "www.domain.com"
cert_domain = "*.domain.com"
source = "github.com/fillup/terraform-hugo-s3-cloudfront"
aliases = ["www.domain.com", "domain.com"]
bucket_name = "www.domain.com"
cert_domain = "*.domain.com"
deployment_user_arn = "arn:aws:iam::111122223333:person"
}
```

## License - MIT
MIT License

Copyright (c) 2018 Phillip Shipley
Copyright (c) 2020 Phillip Shipley

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit f6286ea

Please sign in to comment.