IT |
気になる、記になる… |
小型アクションカメラ「Insta360 GO」の新モデル?? ー Insta360が6月27日に新製品を発表へ |
https://taisy0.com/2023/06/21/173221.html
|
insta |
2023-06-20 16:52:57 |
IT |
気になる、記になる… |
YouTube、チャンネルの動画を「古い順」で並び替える機能を復活か |
https://taisy0.com/2023/06/21/173216.html
|
youtube |
2023-06-20 16:15:50 |
AWS |
AWS Big Data Blog |
Stream VPC Flow Logs to Datadog via Amazon Kinesis Data Firehose |
https://aws.amazon.com/blogs/big-data/stream-vpc-flow-logs-to-datadog-via-amazon-kinesis-data-firehose/
|
Stream VPC Flow Logs to Datadog via Amazon Kinesis Data FirehoseIt s common to store the logs generated by customer s applications and services in various tools These logs are important for compliance audits troubleshooting security incident responses meeting security policies and many other purposes You can perform log analysis on these logs to understand users application behavior and patterns to make informed decisions When running workloads … |
2023-06-20 16:57:26 |
AWS |
AWS Big Data Blog |
Accelerate data science feature engineering on transactional data lakes using Amazon Athena with Apache Iceberg |
https://aws.amazon.com/blogs/big-data/accelerate-data-science-feature-engineering-on-transactional-data-lakes-using-amazon-athena-with-apache-iceberg/
|
Accelerate data science feature engineering on transactional data lakes using Amazon Athena with Apache IcebergAmazon Athena is an interactive query service that makes it easy to analyze data in Amazon Simple Storage Service Amazon S and data sources residing in AWS on premises or other cloud systems using SQL or Python Athena is built on open source Trino and Presto engines and Apache Spark frameworks with no provisioning or configuration effort … |
2023-06-20 16:53:51 |
AWS |
AWS Media Blog |
Atmosphere scales streaming service for businesses, unlocks new revenue potential with AWS |
https://aws.amazon.com/blogs/media/atmosphere-scales-streaming-service-for-businesses-unlocks-new-revenue-potential-with-aws/
|
Atmosphere scales streaming service for businesses unlocks new revenue potential with AWSWhere audiences dwell advertisers follow From restaurants and bars to gyms medical offices airports and beyond ample opportunities exist for brands to reach consumers as they move through the day Atmosphere is broadening access to these audiences in the US and internationally with its free ad supported streaming service built on cloud based technologies from Amazon Web … |
2023-06-20 16:40:24 |
AWS |
AWS Messaging and Targeting Blog |
Why is DMARC failing? How to Fix a DMARC Failure |
https://aws.amazon.com/blogs/messaging-and-targeting/why-is-dmarc-failing-how-to-fix-a-dmarc-failure/
|
Why is DMARC failing How to Fix a DMARC FailureWhy is DMARC failing How to Fix a DMARC Failure Introduction For enterprises of all sizes email is a critical piece of infrastructure that supports large volumes of communication from an organization One of the benefits of using an email service or email platform like Amazon Simple Email Service Amazon SES is that these managed … |
2023-06-20 16:39:17 |
AWS |
AWS - Webinar Channel |
The Future of Analytics at AWS: A Conversation with AWS Product Leaders- AWS Fireside Chat |
https://www.youtube.com/watch?v=3bLyWO8IWno
|
The Future of Analytics at AWS A Conversation with AWS Product Leaders AWS Fireside ChatData fuels digital transformation and drives effective business decisions To survive in an ever changing world organizations are turning to data to derive insights create new experiences and reinvent themselves so they can remain relevant today and in the future In this fireside chat G Krishnamoorthy VP of AWS Analytics and Brandon Draeger Marketing Director of AWS Analytics discuss the future of analytics on AWS with the broadest set of integrated analytics services that allow organizations to gain faster and deeper insights from all their data Learning Objectives Objective See how AWS is addressing key customer challenges for delivering a modern data strategy Objective Understand the analytics strategy at AWS and key emerging trends shaping the future of analytics services Objective Learn more about current AWS Analytics offerings To learn more about the services featured in this talk please visit aws amazon com analytics To download a copy of the slide deck from this webinar visit |
2023-06-20 16:30:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
韓国語の形態素解析パッケージSoynlp (pure Python) |
https://qiita.com/sentencebird/items/c85ca3e059d520ad369a
|
konlpy |
2023-06-21 01:52:40 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Ruby完全攻略 |
https://qiita.com/kota-smacon/items/b1ab577f5098838bf2f6
|
週間 |
2023-06-21 01:03:09 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go言語 基本文法 ~vol2. フロー制御編~ |
https://qiita.com/nao_United92/items/bdd551383583fe28d2a8
|
遅延 |
2023-06-21 01:09:06 |
技術ブログ |
Mercari Engineering Blog |
メルカリShopsのQA活動を支える技術とQAチームの取り組み |
https://engineering.mercari.com/blog/entry/20230617-7f9d4c6486/
|
hellip |
2023-06-20 17:00:10 |
海外TECH |
MakeUseOf |
7 Reasons to Switch From PC Gaming to Console Gaming |
https://www.makeuseof.com/switch-from-pc-gaming-to-console-gaming/
|
console |
2023-06-20 16:31:18 |
海外TECH |
MakeUseOf |
How to Fix the DXGI_ERROR_DEVICE_REMOVED Error in Windows 10 & 11 |
https://www.makeuseof.com/dxgi-error-device-removed-error-windows/
|
device |
2023-06-20 16:15:17 |
海外TECH |
DEV Community |
Medusa Recap: Product Module, Admin Extensibility, Omnichannel features and more |
https://dev.to/medusajs/medusa-recap-product-module-admin-extensibility-omnichannel-features-and-more-ko7
|
Medusa Recap Product Module Admin Extensibility Omnichannel features and moreToday we are kicking off our June edition of our Medusa Recap This week is dedicated to showcasing the features we have built in the past ten weeks You can get an overview of everything we have shipped in our latest Tweet ️our Tweet Medusa medusajs Medusa gets better every week today we are sharing a Recap of what we shipped in the past weeks including big additions like •A new Product Module •Admin extensibility •Improved omnichannel featuresWe are excited to share all the details with you PM Jun Every feature in our Recap will be highlighted in the coming days with in depth articles and demos so you can try them out yourself If you want to stay in the loop sign up for our daily deep dives via this link Below is a short summary of some of the key features we have shipped and that we will dive deeper into over the next days Product ModuleWith the beta release of our Product Module we are bringing our building blocks closer to frontend frameworks and serverless environments The Product Module enables you to access Products Variants Categories and more through a standalone package that can be installed and run in Next js functions and other Node js compatible runtimes to give you access to your product data with full control Admin ExtensionsAdmin Extensions enable customizations to the Medusa Admin making it easy to build powerful merchant experiences without compromising the maintainability of your system Extensions come in two forms Widgets and UI Routes Widgets allow you to add custom React components to existing Admin pages to enrich information about Orders Products etc while UI Routes give you a full canvas to build customizations without constraints on creativity Reservation ManagementOur improved Reservation Management gives you full control of your inventory including an overview of all allocated stock and advanced filters The additions to Reservation Management also further strengthen our inventory tooling with a new powerful primitive to enable more omnichannel experiences Stay tuned for more feature highlights in the coming days and make sure to check out the full details on our Recap page |
2023-06-20 16:47:11 |
海外TECH |
DEV Community |
Install NGINX in Ubuntu 22.04 LTS Server |
https://dev.to/aspsptyd/install-nginx-in-ubuntu-2204-lts-server-55m7
|
Install NGINX in Ubuntu LTS Serverservex aspsptyd sudo apt y install nginxTunggu sampai proses installasi selesai sudo password for servex Reading package lists DoneBuilding dependency tree DoneReading state information DoneThe following additional packages will be installed fontconfig config fonts dejavu core libdeflate libfontconfig libgd libjbig libjpeg turbo libjpeg libnginx mod http geoip libnginx mod http image filter libnginx mod http xslt filter libnginx mod mail libnginx mod stream libnginx mod stream geoip libtiff libwebp libxpm nginx common nginx coreSuggested packages libgd tools fcgiwrap nginx doc ssl certThe following NEW packages will be installed fontconfig config fonts dejavu core libdeflate libfontconfig libgd libjbig libjpeg turbo libjpeg libnginx mod http geoip libnginx mod http image filter libnginx mod http xslt filter libnginx mod mail libnginx mod stream libnginx mod stream geoip libtiff libwebp libxpm nginx nginx common nginx core upgraded newly installed to remove and not upgraded Need to get kB of archives After this operation kB of additional disk space will be used Get jammy main amd fonts dejavu core all build kB Get jammy main amd fontconfig config all ubuntu kB Get jammy main amd libdeflate amd kB Get jammy main amd libfontconfig amd ubuntu kB Get jammy main amd libjpeg turbo amd ubuntu kB Pastikan tidak ada masalah saat installasi berikutnya menyesuaikan firewall seperti berikutservex aspsptyd sudo ufw app listAvailable applications Nginx Full Nginx HTTP Nginx HTTPS OpenSSHservex aspsptyd As demonstrated by the output there are three profiles available for Nginx Nginx Full This profile opens both port normal unencrypted web traffic and port TLS SSL encrypted traffic Nginx HTTP This profile opens only port normal unencrypted web traffic Nginx HTTPS This profile opens only port TLS SSL encrypted traffic servex aspsptyd sudo ufw allow Nginx HTTP Rules updatedRules updated v servex aspsptyd sudo ufw statusStatus inactiveservex aspsptyd systemctl status nginx nginx service A high performance web server and a reverse proxy server Loaded loaded lib systemd system nginx service enabled vendor preset enabled Active active running since Tue UTC min ago Docs man nginx Process ExecStartPre usr sbin nginx t q g daemon on master process on code exited status SUCCESS Process ExecStart usr sbin nginx g daemon on master process on code exited status SUCCESS Main PID nginx Tasks limit Memory M CPU ms CGroup system slice nginx service ├ー nginx master process usr sbin nginx g daemon on master process on └ー nginx worker process Jun aspsptyd systemd Starting A high performance web server and a reverse proxy server Jun aspsptyd systemd Started A high performance web server and a reverse proxy server Jika sudah selanjutnya kita akses IP VM server seperti gambar diatas dan pastikan akses ke webserver nginx sudah muncul |
2023-06-20 16:31:28 |
海外TECH |
DEV Community |
Azure AD intro with Terraform examples |
https://dev.to/vchiranjeeviak/azure-ad-intro-with-terraform-examples-13dl
|
Azure AD intro with Terraform examples IntroductionAzure Active Directory Azure AD offers organizations a comprehensive cloud based solution for efficient directory and identity management With its array of features including username and password management role and permissions control multi factor authentication and application monitoring Azure AD is an indispensable tool for businesses of all sizes This article explores the key aspects of Azure AD starting with user management followed by administrative units and concluding with group management Terraform setup for Azure ADFirst we need to specify the providers that we are going to use so that Terraform knows which providers it needs to download terraform required providers azuread source hashicorp azuread version gt provider azuread tenant id lt your azure account tenant id gt If we run terraform init command after adding the above code to any of the files providers tf is a preferred name in the terraform directory it downloads the required providers For whatever code we use in this article to work we need to authenticate to our Azure account so that the changes we create in code will actually happen The easiest and recommended way to authenticate for Terraform is through service principal and client secret To create one service principal we need to have a Contributor role for Azure AD If we have that we can create a service principal using the command az ad sp create for rbac role Contributor scopes subscriptions lt your subscription number gt in Azure CLI which can be downloaded from here if you haven t already This will return a response containing important fields which we want They are id subscription id tenant id client id and client secret It is better to create a bash file which contains the following contents export ARM CLIENT ID lt client id gt export ARM CLIENT SECRET lt client secret gt export ARM TENANT ID lt tenant id gt export ARM SUBSCRIPTION ID subscription id Run this script before running any plan Now we have the setup ready and we can move on If you get any error during the creation of the service principal check your permissions and if your permissions are fine it might have created the principal but still threw the error as happened in my case Managing Users in Azure ADAzure AD provides robust user management capabilities that enable organizations to efficiently create and oversee user identities in the cloud Here are some essential aspects of managing users in Azure AD User PropertiesUser Profile Each user has a profile that contains basic information such as their name email address and contact details Assigned Roles Users can be assigned specific roles within the organization granting them access to various resources and services based on their responsibilities Administrative Units Azure AD allows for the grouping of users based on geographical or organizational units facilitating streamlined user management Administrative Units AUs enable organizations to assign specific administrators to oversee users from particular regions or units Group Membership Users can be part of different groups within Azure AD allowing for efficient management of permissions and access rights Applications Azure AD enables the assignment of applications to users granting them access to specific software and services Licenses Users can be assigned licenses that provide access to specific features or services within Azure AD Devices Azure AD associates devices with user accounts providing information about the devices and their join type such as Azure AD join or hybrid Azure AD join Role Assignments User roles define the resources to which a user has access specifying their permissions and privileges Authentication Methods Azure AD supports various authentication methods allowing users to choose the method that best suits their needs Creating a user with Terraformresource random password test length special true override special amp resource azuread user test user principal name lt email format with domain specific to your azure account gt display name test password random password test result force password change true given name article surname terraform Terraform forces us to provide a password for every user So I am using this random password generator first getting a random password from it and passing it to the user I am also forcing the user to change the password when they first try to log in so that no one can see the password from the terraform state Only the first fields in the above azuread user block are necessary and others are optional I added given name and surname blocks to help in the group creation which is coming next You can check more options that can be provided while creating the user here Streamlining User Management with Administrative UnitsAzure AD introduces the concept of Administrative Units AUs to simplify user management and enable efficient delegation of administrative responsibilities AUs are particularly useful for grouping users based on specific regions or organizational units Here s what you need to know about Azure Administrative Units Efficient User Grouping AUs help organize users based on geographical or organizational criteria allowing administrators to manage users from specific regions or units more effectively Assigning Administrators Within each Administrative Unit administrators can be assigned specific roles to perform tasks relevant to their areas of responsibility These roles include Authentication admin Groups admin Help desk admin License admin Password admin and User admin By utilizing Azure Administrative Units organizations can streamline user management delegate administrative responsibilities and ensure efficient control over user access and permissions based on specific regions or organizational units AUs require a premium tier account and I don t have one So I m not able to show you a tested terraform example here Simplifying User Collaboration with Azure AD GroupsAzure AD groups provide a convenient way to manage and organize users within an organization promoting collaboration and resource sharing There are two primary types of groups in Azure AD Security Groups Security groups are used to grant permissions to a set of users for specific cloud resources They streamline access control and simplify user management by providing a collective set of permissions to a group of users Microsoft Groups Microsoft groups facilitate collaboration by providing access to shared resources such as calendars mailboxes and more They enable users to work together seamlessly on projects and initiatives Azure AD allows for different methods of grouping users into security groups Assigned Grouping Users can be manually assigned to a group providing direct control over group membership Dynamic User Grouping Grouping users dynamically involves setting parameters based on user properties and automatically adding or removing users from the group based on predefined criteria Dynamic Device Grouping Similar to dynamic user grouping dynamic device grouping involves setting parameters based on device properties and automatically grouping devices based on predefined criteria Azure AD group properties and functionalities include Overview Basic information about the group including membership type and unique identifier Properties Group details such as name type description and other relevant attributes Members Users who are part of the group Owners Administrators with control over the group and its settings Administrative Units Association of groups with specific AUs for streamlined management Group Memberships Hierarchical grouping of groups within other security groups Applications Assignment of applications to groups for collective access to services Licenses Group level assignment of licenses for consistent access to licensed features Role Assignments Resources accessible to group members defining permissions and privileges Dynamic Membership Rules Configuration rules for automatic group membership updates based on criteria and properties Creating groups with Terraformresource azuread group test display name test security enabled true dynamic membership enabled true rule user surname eq terraform The display name and either security enabled or mail enabled being true are required and all others are optional To add users to a group depending on a condition we use dynamic membership which takes a rule according to which it groups users Here I am grouping users whose surname is equal to terraform and hence it adds only the user which we created before to this group This also requires a premium plan to work We can manually add users to a group in the basic tier data azuread client config current resource azuread group test display name test security enabled true members azuread user test object id data azuread client config object id This way we can add users manually to a group by specifying their object id in the members list The way we fetch already existing data from the cloud to the terraform just to use some details on our current is through a data block like how we did in the first line above In the above code I am getting the current user who is applying the Terraform plan which is the user associated with the service principal that we created earlier to use with Terraform And then I added the object id of it in the members list So this time the group contains two users One is the Terraform user and the other is the user we created above with Terraform code ConclusionAzure Active Directory Azure AD provides a robust and comprehensive solution for directory and identity management in the cloud By effectively managing users leveraging Administrative Units and harnessing the power of Azure AD groups organizations can streamline user management delegate administrative responsibilities and enhance collaboration among users Azure AD offers a seamless and secure identity management solution that empowers businesses to embrace the cloud and unlock their full potential If you find this article helpful and informative please don t forget to like and share it Also follow Chiranjeevi Tirunagari for more such articles Consider connecting with me on socials at and Thank you |
2023-06-20 16:25:16 |
海外TECH |
DEV Community |
The Web of Life: Understanding the Architecture of the World Wide Web |
https://dev.to/oreste/the-web-of-life-understanding-the-architecture-of-the-world-wide-web-gmc
|
The Web of Life Understanding the Architecture of the World Wide WebWelcome to the intricate world of the World Wide Web where a complex architecture connects individuals organizations and information across the globe In this article we will explore the foundational components and mechanisms that make the web function seamlessly enabling collaboration communication and the dissemination of knowledge on a massive scale The Client Server Model Facilitating CommunicationAt the core of the web s architecture lies the client server model When you interact with the web your web browser acts as the client while web servers store and deliver the requested information This model facilitates communication between your device and the server allowing you to access web pages multimedia content and other resources Hypertext Transfer Protocol HTTP The Language of the WebThe Hypertext Transfer Protocol HTTP serves as the language that enables communication between your web browser and the server When you request a web page your browser sends an HTTP request and the server responds with an HTTP response providing the necessary data This standardized protocol ensures seamless exchange of information on the web URLs Navigating the WebUniform Resource Locators URLs act as addresses for resources on the web They consist of different components including the protocol HTTP HTTPS the domain name such as example com and the path specific location within the website URLs allow you to navigate the web directing your browser to the desired web pages documents images or other online resources Hyperlinks Interconnecting the WebHyperlinks are the fundamental building blocks of the interconnected web They serve as clickable links embedded within web pages connecting you to related content external sources or different sections within a website Hyperlinks make navigation effortless enabling you to explore a vast network of information with a simple click Markup Languages Structuring Web ContentMarkup languages like HTML Hypertext Markup Language CSS Cascading Style Sheets and JavaScript play pivotal roles in shaping the structure design and interactivity of web content HTML provides the backbone defining the structure of a web page while CSS enhances its visual presentation JavaScript adds dynamic features enabling interactive elements and functionality Web Servers and Web Hosting Storing and Serving ContentWeb servers are the backbone of the web storing web pages and delivering them upon request They ensure the availability and accessibility of websites and their associated resources Web hosting services provide the infrastructure to host websites making them accessible to users worldwide Together web servers and hosting services make the web content accessible to anyone with an internet connection The Distributed Nature of the Web Ensuring Reliability and ScalabilityThe web operates on a distributed network architecture comprising numerous interconnected servers data centers and networks spread across the globe This decentralized approach ensures reliability scalability and resilience Content Delivery Networks CDNs further enhance performance by caching and delivering web content from servers located closer to the user reducing latency and improving loading times ConclusionThe architecture of the World Wide Web encompasses a dynamic ecosystem of components and protocols that seamlessly connect users to information services and each other By understanding the client server model HTTP URLs hyperlinks markup languages and the distributed nature of the web we gain a deeper appreciation for the intricate framework supporting the web s vast landscape Embrace this knowledge and continue to explore the boundless possibilities that the Web of Life offers |
2023-06-20 16:21:30 |
海外TECH |
DEV Community |
Automating Terraform Documentation with Terraform-Docs and Azure DevOps |
https://dev.to/pwd9000/automating-terraform-documentation-with-terraform-docs-and-azure-devops-oan
|
Automating Terraform Documentation with Terraform Docs and Azure DevOps OverviewBased on a popular blog post I did last year Automating Terraform Documentation with Terraform Docs and GitHub Actions I decided to revisit the topic and see if I could automate the process using Azure DevOps instead of GitHub Actions Documenting infrastructure code is just as important as writing the code itself It s crucial for the readability and maintainability of the code especially when we are working as a part of the team However documentation is often neglected and keeping it up to date can be a challenging task Fortunately there are tools like Terraform Docs that help automate this process In this blog post we will discuss how to automate the generation and update of your Terraform documentation with Terraform Docs and Azure DevOps Pipelines The process is straightforward and can be achieved with a few simple steps and I will show you a completely automated way of self generating documentation for your Terraform modules on Azure DevOps What is Terraform Docs Terraform Docs is an open source tool that generates documentation for your Terraform modules based on the metadata provided in the Terraform files It supports multiple output formats like Markdown JSON YAML and others The tool scans your Terraform files and outputs comprehensive documentation including inputs outputs providers requirements and more The Automation ProcessWe are going to use Azure DevOps pipelines to automate this process Say for example you have a Terraform module structure in Git that looks like this ├ー Terraform Modules Root Dir │├ーModule ││├ーREADME md││├ーvariables tf││├ーmain tf││├ーoutputs tf│├ーModule ││├ーREADME md││├ーvariables tf││├ーmain tf││├ーoutputs tfTo automate each sub module README md file we need to create an Azure DevOps pipeline that will run on a trigger when any changes are made to our terraform code base and merged in our Git repository s main branch The pipeline will then automatically generate the documentation for each Terraform module and commit the updated README md files back to the repository Let s take a closer look at the following Multi Stage pipeline for windows for linux based build agents see this Multi Stage pipeline for linux instead Muti Stage pipeline for windowstrigger mainvariables terraformDocsVersion serviceConnectionName Terraform SPN DevOps MagiconionM keyvaultName pwd core kv pool vmImage windows latest stages stage GenerateTerraformDocumentation jobs job Generate Terraform Documentation steps checkout self persistCredentials true this allows the later scripts to use the system provided git token to push changes back to the repo Link to key vault task AzureKeyVault inputs azureSubscription serviceConnectionName ADO service connection Service principal KeyVaultName keyvaultName SecretsFilter TerraformDocsPAToken RunAsPreJob true displayName Get PAToken from Keyvault Install Terraform Docs powershell Invoke WebRequest Uri terraformDocsVersion terraform docs v terraformDocsVersion windows amd zip OutFile terraform docs zip Expand Archive Path terraform docs zip DestinationPath System DefaultWorkingDirectory terraform docs Force env Path System DefaultWorkingDirectory terraform docs displayName Install terraform docs Remove all old README md files and generate new README md files for each TF module powershell Set Modules Root Directory Set Location Build SourcesDirectory Terraform Modules Root Dir Get all subdirectories Terraform module directories terraformModuleDirs Get ChildItem Path Get Location Directory Loop through each directory to cleanup remove old README files foreach dir in terraformModuleDirs Get all files in the directory readMeFiles Get ChildItem Path dir FullName Filter README md Loop through each file in each terraform module foreach file in readMeFiles Check if README file already exists and remove if file Remove the file Remove Item file FullName Confirm false Write Output Old file file Name removed from dir FullName After cleanup create a new README md file with terraform docs based on latest TF module code in current folder terraform module tfFiles Get ChildItem Path dir FullName Filter tf if tfFiles Count gt Create new README md file System DefaultWorkingDirectory terraform docs terraform docs exe markdown table dir FullName output file README md else Write Output No tf files found displayName Cleanup and Generate new README for each TF module Commit and push updated README md files for TF modules powershell git config local user email terraform docs myOrg com git config local user name Terraform Docs git add md git commit m Update README md for each TF module git push origin HEAD Build SourceBranchName displayName Commit and Push updated README md files for TF modules env SYSTEM ACCESSTOKEN TerraformDocsPAToken For Linux based build agents Muti Stage pipeline for linuxtrigger mainvariables terraformDocsVersion serviceConnectionName Terraform SPN DevOps MagiconionM keyvaultName pwd core kv pool vmImage ubuntu latest stages stage GenerateTerraformDocumentation jobs job Generate Terraform Documentation steps checkout self persistCredentials true this allows the later scripts to use the system provided git token to push changes back to the repo Link to key vault task AzureKeyVault inputs azureSubscription serviceConnectionName ADO service connection Service principal KeyVaultName keyvaultName SecretsFilter TerraformDocsPAToken RunAsPreJob true displayName Get PAToken from Keyvault Install Terraform Docs script wget terraformDocsVersion terraform docs v terraformDocsVersion linux amd tar gz tar xvf terraform docs v terraformDocsVersion linux amd tar gz sudo mv terraform docs usr local bin displayName Install terraform docs Remove all old README md files and generate new README md files for each TF module script Set Modules Root Directory root dir Build SourcesDirectory Terraform Modules Root Dir Get all subdirectories Terraform module directories terraformModuleDirs find root dir maxdepth type d Loop through each directory to cleanup remove old README files for dir in terraformModuleDirs do Get all files in the directory readMeFiles find dir name README md Loop through each file in each Terraform module for file in readMeFiles do Check if README file already exists and remove if f file then Remove the file rm f file echo Old file basename file removed from realpath dir fi done After cleanup create a new README md file with terraform docs based on latest TF module code in current folder terraform module tfFiles find dir name tf if echo tfFiles wc l gt then Create new README md file terraform docs markdown table realpath dir output file dir README md else echo No tf files found fi done displayName Cleanup and Generate new README for each TF module Commit and push updated README md files for TF modules script git config local user email terraform docs myOrg com git config local user name Terraform Docs git add md git commit m Update README md for each TF module git push origin HEAD Build SourceBranchName displayName Commit and Push updated README md files for TF modules env SYSTEM ACCESSTOKEN TerraformDocsPAToken The pipeline has a single stage GenerateTerraformDocumentation which contains a job Generate Terraform Documentation This job performs the following steps Checkout Code The first step checks out your code from the repository and persists the credentials The persisted credentials allow the pipeline to push any changes back to the repository Link to Azure Key Vault The pipeline then retrieves a personal access token PAT from an Azure Key Vault using the AzureKeyVault task This PAT is used later to push updates back to the repository Install Terraform Docs Next the pipeline downloads and installs a specific version of Terraform Docs on the DevOps hosted agent The desired version is defined in the pipeline variables Generate Documentation Once Terraform Docs is installed the pipeline cleans up any old README md files and generates new ones for each Terraform module It traverses the Terraform module directories under the path Build SourcesDirectory Terraform Modules Root Dir removes any existing README md files and generates new ones based on the current Terraform code You can update this path to match your Terraform module directory structure Commit and Push Finally it commits the updated README md files and pushes them back to the repository using the PAT retrieved from Azure Key Vault Pre requisitesThere are a few pre requisites for this solution that we need to set up before we can run the pipeline These include the following based on the above steps tasks performed by the pipeline Create a Personal Access Token PAT in Azure DevOpsNotice the keyvault step above Link to key vault task AzureKeyVault inputs azureSubscription serviceConnectionName ADO service connection Service principal KeyVaultName keyvaultName SecretsFilter TerraformDocsPAToken RunAsPreJob true displayName Get PAToken from KeyvaultThis step will retrieve a keyvault secret called TerraformDocsPAToken using the AzureKeyVault task from the keyvault specified in the pipeline Variables This secret is used later to push updates back to the repository using this task Commit and push updated README md files for TF modules powershell git config local user email terraform docs myOrg com git config local user name Terraform Docs git add md git commit m Update README md for each TF module git push origin HEAD Build SourceBranchName displayName Commit and Push updated README md files for TF modules env SYSTEM ACCESSTOKEN TerraformDocsPAToken Notice the SYSTEM ACCESSTOKEN TerraformDocsPAToken environment variable above This is the PAT retrieved from the keyvault and used to push updates back to the repository The PAT token scope of permissions required for this solution is Code Read amp write For more information on how to create a PAT token see here After creating the PAT token add it to the keyvault as a secret called TerraformDocsPAToken and update the pipeline variables to point to the correct keyvault name Add generic contribute permissions to the service principal used by the ADO service connectionThe ADO service connection used by the pipeline to connect to the repository must have Generic Contribute permissions to the repository This is required to allow the pipeline to push updates back to the repository To do this you will need to navigate to the repository in ADO and add the service principal used by the ADO service connection to the repository with Generic Contribute permissions In Azure DevOps navigate to the repository settings You can find this under Project settings gt Repos gt Repositories and select the repository where you want to allow access Navigate to the Security tab Find the user or group that matches your pipeline identity If your pipeline is running at the project scope this will be Project Build Service ProjectName If it s running at the organization scope this will be Project Collection Build Service OrganizationName Once you ve found the correct identity check the Contribute permission Next on the same page Add the pipeline to the Pipeline permissions Lastly Add the ADO service connection used by the pipeline to the Git refs permissions on the main branch with Bypass policies when pushing set to Allow That is it now once a Pull Request is merged into the main branch the pipeline will automatically run and update the Terraform module documentation in each module directory and push each updated README md file back to the repository ConclusionIntegrating this documentation generation process into your CI CD pipeline can keep your Terraform module documentation updated in real time Every time you modify your Terraform code and push to your repository the CI CD pipeline can automatically generate and commit the updated documentation ensuring your documentation is always up to date and synced with your latest Terraform code In conclusion automating your Terraform documentation with Terraform Docs and Azure DevOps is a great way to keep your Terraform modules documented and updated It not only saves time but also ensures consistent and comprehensive documentation leading to better code understanding and easier maintenance I hope you have enjoyed this post and have learned something new You can also find the code samples used in this blog post on my published GitHub page ️ AuthorLike share follow me on GitHub Twitter LinkedIn Marcel LFollow Microsoft DevOps MVP HashiCorp Ambassador DevOps Architect Technical speaker focused on Microsoft technologies IaC and automation in Azure Find me on GitHub |
2023-06-20 16:05:49 |
Apple |
AppleInsider - Frontpage News |
How to use interactive widgets in iOS 17 |
https://appleinsider.com/inside/ios-17/tips/how-to-use-interactive-widgets-in-ios-17?utm_medium=rss
|
How to use interactive widgets in iOS With iOS Apple has introduced support for interactive widgets a significant upgrade from the initial version of widgets that debuted with iOS Here s how to use them Apple redesigned its system of widgets to let users add them to the Home Screen and the Today View They come in small medium and large sizes and display various data bits In prior versions of iOS tapping on a widget would take you directly to the corresponding app Developers can now incorporate interactive features into their widgets using iOS enabling users to carry out app functions directly from the widget without opening the app Read more |
2023-06-20 16:34:45 |
Apple |
AppleInsider - Frontpage News |
MacBooks, Mac Studio, Mac mini - all with wild deals up to $1,700 off at B&H Photo |
https://appleinsider.com/articles/23/06/20/macbooks-mac-studio-mac-mini---all-with-wild-deals-up-to-1700-off-at-bh-photo?utm_medium=rss
|
MacBooks Mac Studio Mac mini all with wild deals up to off at B amp H PhotoB amp H Photo continues its aggressive discounting of Apple products this week with incredible deals on laptops desktops and even Apple TVs Save up to on the hottest gear available and have it in as little as two days Huge discounts with B amp H Photo this week Shop huge discounts from B amp H including a Mac Studio discount with the M Ultra chip Or take home a inch MacBook Pro with an M Max chip for less than the original retail price but only for a few more days Read more |
2023-06-20 16:20:03 |
Apple |
AppleInsider - Frontpage News |
Apple Podcasts gets big improvements with expanded categories & more |
https://appleinsider.com/articles/23/06/20/apple-podcasts-gets-big-improvements-with-expanded-categories-more?utm_medium=rss
|
Apple Podcasts gets big improvements with expanded categories amp moreApple has updated its Podcasts app with more discovery options including adding nine subcategories to the Search tab and the option to explore podcasts by language Apple PodcastsDetailed by Apple Podcasts for Creators on Tuesday the Podcasts app for iOS iPadOS and macOS has undergone some small changes that can help the discoverability of shows in smaller yet important categories Read more |
2023-06-20 16:11:02 |
海外TECH |
Engadget |
News publishing giant Gannett sues Google for monopolizing ad tech |
https://www.engadget.com/news-publishing-giant-gannett-sues-google-for-monopolizing-ad-tech-164602826.html?src=rss
|
News publishing giant Gannett sues Google for monopolizing ad techGannett a news publisher accused of monopolistic behavior is suing Google for monopolistic behavior It s the latest in a string of lawsuits against the search giant and it repeats many of the arguments made by the Department of Justice in its second lawsuit against Google filed earlier this year Gannett is the US largest news publisher “Google has monopolized market trading to their advantage and at the expense of publishers readers and everyone else Gannett CEO Mike Reed said toCNBC “Digital advertising is the lifeblood of the online economy Without free and fair competition for digital ad space publishers cannot invest in their newsrooms Gannett which owns USA Today and various local papers says Google has overly broad control over the online ad business leading to diminished ad spending despite growing online readership The crux of the complaint is that Google owns the largest ad exchange and ad server ーboth acquired rather than built organically ーand that arrangement has led to diminished industry revenue “Content providers including hundreds of our local news outlets create enormous value but see none of the financial upside because Google as middleman has monopolized the markets for important software and technology products that publishers and advertisers use to buy and sell ad space Gannett CEO Mike Reed wrote today “Google trades on that conflict of interest to its advantage and at the expense of publishers readers and everyone else Our lawsuit details more than a dozen significantly anticompetitive and deceptive acts by Google starting as early as and persisting to present day In a statement to Engadget Google insisted that its services are popular because they re the best ーnot due to a lack of competition “These claims are simply wrong Publishers have many options to choose from when it comes to using advertising technology to monetize ーin fact Gannett uses dozens of competing ad services including Google Ad Manager VP of Google Ads Dan Taylor said “And when publishers choose to use Google tools they keep the vast majority of revenue We ll show the court how our advertising products benefit publishers and help them fund their content online Google says the average large publisher will use six different platforms to sell ads on its websites while advertisers and media agencies will use over three platforms to buy ads The search giant describes its ad tech fees as transparent and consistent with industry rates ASSOCIATED PRESSHowever Gannett s complaints are similar to those of the DOJ which filed a suit in January alongside eight states to break up Google s advertising business “Google s anticompetitive behavior has raised barriers to entry to artificially high levels forced key competitors to abandon the market for ad tech tools dissuaded potential competitors from joining the market and left Google s few remaining competitors marginalized and unfairly disadvantaged the Justice Department alleged at the time It was the DOJ s second lawsuit against Google following one filed in under former Attorney General Bill Barr accusing the company of having a monopoly over search and search related advertising Gannett s and the DOJ s most recent lawsuits claim Google has stifled competition in the space through acquisitions “Whenever Google s customers and competitors responded with innovation that threatened Google s stranglehold over any one of these ad tech tools Google s anticompetitive response has been swift and effective the DOJ said Gannett is no stranger to monopolistic accusations Although the company is over years old it was acquired by New Media Investment Group and merged with GateHouse Media taking on the Gannett brand in Since the merger Gannett has laid off over half its workforce and shut down numerous local news outlets In the period immediately following the acquisition Gannett “owned daily and weekly newspapers according toNieman Lab “By the end of those totals were daily and weekly newspapers although some were due to selling papers to local buyers In addition the company went from about employees at the time of the acquisition to in its most recent filing report This article originally appeared on Engadget at |
2023-06-20 16:46:02 |
海外TECH |
Engadget |
Cruise launches an Android app for its self-driving taxis |
https://www.engadget.com/cruise-launches-an-android-app-for-its-self-driving-taxis-160045696.html?src=rss
|
Cruise launches an Android app for its self driving taxisCruise has finally launched an Android app for ridehailing giving potential customers in San Francisco the option to call one of its robotaxis even if they re not iPhone users The self driving car company told Engadget that percent of its waitlisters are on Android and an app for the platform is one of people s most requested updates on social media Cruise s new Android app will come with all the upgrades the iOS app has received since it launched including the ability to drop a moveable pin on the map by long pressing on the screen nbsp CruiseThe company recently started operating in all areas of San Francisco hours a day seven days a week Employees have been able to hail robotaxi rides from across the city at all hours for months but Cruise opened daytime rides to public quot power users quot in specific portions of the city back in April To note when Cruise secured the first ever driverless deployment permit issued by the California Public Utilities Commission last year it was only given permission to operate in select areas of San Francisco from PM to AM nbsp Passengers with Android phones who become power users or customers who sign up to test beta features and to send feedback to Cruise for free rides will be able to hail daytime rides A spokesperson also told us that Cruise is continuing to expand the availability of daytime rides in San Francisco so even paying customers will eventually be able to use the service When the company announced its operations Kyle Vogt its CEO said that we ll soon see Cruise quot open up full operations in other cities quot He said quot operating robotaxis in SF has become a litmus test for business viability quot and that if the technology can work there quot there s little doubt it can work just about everywhere quot Introducing…the Cruise Android App Starting today we re onboarding Android users from our waitlist so if you ve been waiting patiently keep an eye out for an email Not on our waitlist Sign up now pic twitter com polhgBTsqWーcruise Cruise June This article originally appeared on Engadget at |
2023-06-20 16:00:45 |
海外TECH |
Engadget |
Chrome on iOS can now show maps and create calendar items without switching apps |
https://www.engadget.com/chrome-on-ios-can-now-show-maps-and-create-calendar-items-without-switching-apps-160028132.html?src=rss
|
Chrome on iOS can now show maps and create calendar items without switching appsYou no longer have to hop between apps just to perform some common tasks in Chrome on your iPhone Google is updating Chrome for iOS with the option to see Maps addresses create Calendar events and translate specific text without switching to the relevant app You can find the location of a restaurant remind yourself to visit that restaurant and decipher the menu all from one place A future upgrade will also make Google Lens considerably more useful You ll have the option of searching with your camera whether to take new pictures or draw from your camera roll As on Android this might be helpful if you spot a flower or must have jacket and want to identify it on the spot The functionality will be available in the coming months You ll still need to use Google s dedicated apps for more advanced functions such as driving directions in Maps or managing the rest of your itinerary However the additions should make Chrome more of a do it all app that saves time and battery life versus running multiple apps at once That in turn may make Chrome more alluring than Safari as your iPhone s default browser The expansion comes soon after Google introduced Chrome Actions or text based shortcuts for popular browser tasks like clearing your browsing data and checking settings Google has even been experimenting with using its own web engine in Chrome for iOS if and when Apple loosens its app policies Simply put the company is making Chrome more of a power user s tool This article originally appeared on Engadget at |
2023-06-20 16:00:28 |
金融 |
金融庁ホームページ |
「NGFSシナリオ第三版に関する調査」報告書を公表しました。 |
https://www.fsa.go.jp/common/about/research/20230620/20230620.html
|
調査 |
2023-06-20 17:00:00 |
ニュース |
BBC News - Home |
Hamish Harding, Shahzada Dawood and son Suleman: Who is on board Titanic sub? |
https://www.bbc.co.uk/news/uk-65955554?at_medium=RSS&at_campaign=KARANGA
|
titanic |
2023-06-20 16:47:27 |
ニュース |
BBC News - Home |
Hunter Biden to plead guilty to tax crimes and admit gun offence |
https://www.bbc.co.uk/news/world-us-canada-65965473?at_medium=RSS&at_campaign=KARANGA
|
biden |
2023-06-20 16:01:12 |
ニュース |
BBC News - Home |
Covid Inquiry: Former chief medical officer close to tears over pandemic deaths |
https://www.bbc.co.uk/news/uk-politics-65962091?at_medium=RSS&at_campaign=KARANGA
|
chief |
2023-06-20 16:29:35 |
ニュース |
BBC News - Home |
Church of England says abuse compensation scheme 'broadest yet' |
https://www.bbc.co.uk/news/uk-65961083?at_medium=RSS&at_campaign=KARANGA
|
application |
2023-06-20 16:16:57 |
ニュース |
BBC News - Home |
Rihanna, Lizzo and Marilyn Monroe shine in V&A's Diva exhibition |
https://www.bbc.co.uk/news/entertainment-arts-65949434?at_medium=RSS&at_campaign=KARANGA
|
london |
2023-06-20 16:44:41 |
ニュース |
BBC News - Home |
Bottle return scheme firm appoints administrators |
https://www.bbc.co.uk/news/uk-scotland-65965368?at_medium=RSS&at_campaign=KARANGA
|
circularity |
2023-06-20 16:48:42 |
ニュース |
BBC News - Home |
Declan Rice: West Ham reject second Arsenal bid for England midfielder |
https://www.bbc.co.uk/sport/football/65963180?at_medium=RSS&at_campaign=KARANGA
|
worth |
2023-06-20 16:01:00 |
ニュース |
BBC News - Home |
The Ashes 2023: Ben Stokes dismissed Usman Khawaja for 65 |
https://www.bbc.co.uk/sport/av/cricket/65964186?at_medium=RSS&at_campaign=KARANGA
|
ashes |
2023-06-20 16:52:10 |
ニュース |
BBC News - Home |
Royal Ascot: Paddington gives Aidan O'Brien record win, Hollie Doyle triumphs on Bradsell |
https://www.bbc.co.uk/sport/horse-racing/65963293?at_medium=RSS&at_campaign=KARANGA
|
Royal Ascot Paddington gives Aidan O x Brien record win Hollie Doyle triumphs on BradsellPaddington wins the Prince of Wales s Stakes to give trainer Aidan O Brien a record rd victory at Royal Ascot as Holly Doyle triumphs in the King s Stand Stakes |
2023-06-20 16:29:57 |
コメント
コメントを投稿