Closed SaintAngeLs closed 5 months ago
It doesn't even work with LabRole ?
To configure the aws for deployment we need the keys required from cli:
aws configure
\AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:
if there is a way to get this data from LabRole, it may be the way.
The solution we currently have is to update the backet, cloudfront has access to with the new version manually.
When you start lab environment you get access to these keys. You have to click AWS Details and then AWS CLI.
Theoretically the deployment should happen directly with the 'aws' CLI. Unfortunately, we do not have this option enabled, as for this purpose we would need the a aws user and group policy permissions defined. With a lack of success, I've also tried npm global package amplify for which I would also need to use the real AWS account. The solution I would like to use is to publish the application with the Release configuration with the help of:
, and it will be possilble to find the compiled and mistificated files of the published web assembly application in
After each modification related to the production, it is important to publish the application, take the files from the bin release files (the whole wwwroot directory) and put it to the configured backed for the CloudFront Service environment backet catalogify-blazor-web-assembly 'catalogify-blazor-web-assembly' . The CloudFront is configured to take the index.html from the /wwwroot origin directly, so there is no need to add eack of the compiled files to the backet.