Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
e390b565
Commit
e390b565
authored
5 years ago
by
Ole Voldsæter
Browse files
Options
Downloads
Patches
Plain Diff
fikset siste problemer (dns-navn og fast hosted zone for cloudfront)
parent
08072180
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aws/beta.ordbok.uib.no_stack.yaml
+4
-8
4 additions, 8 deletions
aws/beta.ordbok.uib.no_stack.yaml
with
4 additions
and
8 deletions
aws/beta.ordbok.uib.no_stack.yaml
+
4
−
8
View file @
e390b565
...
...
@@ -10,7 +10,7 @@ Parameters:
DomainName
:
Type
:
String
Description
:
The domain name.
Default
:
'
beta.ordbok.aws.uib.no
.
'
Default
:
'
beta.ordbok.aws.uib.no'
AllowedPattern
:
(?!-)[a-zA-Z0-9-.]{1,63}(?<!-)
ConstraintDescription
:
must be a valid DNS zone name
...
...
@@ -27,10 +27,6 @@ Parameters:
Type
:
String
Default
:
'
'
HostedZone
:
Type
:
String
Default
:
Z2YZQI8X816BZS
###############################################################################
Resources
:
...
...
@@ -39,11 +35,11 @@ Resources:
DNS
:
Type
:
"
AWS::Route53::RecordSet"
Properties
:
HostedZoneName
:
!
Ref
DomainName
HostedZoneName
:
!
Sub
"
${
DomainName
}."
Name
:
!Ref
DomainName
Type
:
A
AliasTarget
:
HostedZoneId
:
!Ref
HostedZone
HostedZoneId
:
Z2FDTNDATAQYW2
DNSName
:
!GetAtt
Distribution.DomainName
WebBucket
:
...
...
@@ -67,7 +63,7 @@ Resources:
Statement
:
-
Sid
:
PublicReadForGetBucketObjects
Effect
:
Allow
Action
:
s3:
GetObject
Action
:
s3:
*
Resource
:
!Join
[
'
'
,
[
'
arn:aws:s3:::'
,
!Ref
'
WebBucket'
,
/*
]]
Principal
:
CanonicalUser
:
!GetAtt
CloudFrontOriginIdentity.S3CanonicalUserId
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment